Skip to content

Commit

Permalink
Disable Perl bindings on Windows
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jan-cerny authored and evgenyz committed Apr 30, 2024
1 parent 0c33641 commit d02904a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ option(ENABLE_MITRE "enables MITRE tests -- requires specific environment suppor

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

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

0 comments on commit d02904a

Please sign in to comment.