Skip to content

Commit d02904a

Browse files
jan-cernyevgenyz
authored andcommitted
Disable Perl bindings on Windows
Accidentally, the GitHub CI started to build Perl bindings on Windows because the dependencies become available. However, the build fails because our code isn't ready to be built on Windows. This change will ensure the Perl bindings are kept disabled on Windows. See: https://github.com/OpenSCAP/openscap/actions/runs/8879756994/job/24378248762?pr=2104
1 parent 0c33641 commit d02904a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ option(ENABLE_MITRE "enables MITRE tests -- requires specific environment suppor
360360

361361
# ---------- LANGUAGE BINDINGS
362362
cmake_dependent_option(ENABLE_PYTHON3 "if enabled, the python3 swig bindings will be built" ON "PYTHONINTERP_FOUND;SWIG_FOUND;PYTHONLIBS_FOUND" OFF)
363-
cmake_dependent_option(ENABLE_PERL "if enabled, the perl swig bindings will be built" ON "PERLLIBS_FOUND;SWIG_FOUND" OFF)
363+
cmake_dependent_option(ENABLE_PERL "if enabled, the perl swig bindings will be built" ON "PERLLIBS_FOUND;SWIG_FOUND;NOT WIN32" OFF)
364364

365365
# ---------- NO IDEA WHAT THIS IS FOR
366366
set(WANT_BASE64 TRUE CACHE BOOL "wants builtin Base64")

0 commit comments

Comments
 (0)