Skip to content

Commit 64829da

Browse files
committed
Do not enable SCE on Windows
1 parent 340bb06 commit 64829da

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,11 @@ find_program(SED_EXECUTABLE sed)
192192
find_program(GIT_EXECUTABLE git)
193193

194194
# ---------- CORE FEATURE SWITCHES
195-
196-
option(ENABLE_SCE "enables Script Check Engine - an alternative checking engine that lets you use executables instead of OVAL for checks" ON)
195+
if(WIN32)
196+
option(ENABLE_SCE "enables Script Check Engine - an alternative checking engine that lets you use executables instead of OVAL for checks" OFF)
197+
else()
198+
option(ENABLE_SCE "enables Script Check Engine - an alternative checking engine that lets you use executables instead of OVAL for checks" ON)
199+
endif()
197200

198201
# ---------- OVAL FEATURE SWITCHES
199202

0 commit comments

Comments
 (0)