File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ add_library(cadical ${sources})
99
1010# Pass -DNBUILD to disable including the version information, which is not
1111# needed since cbmc doesn't run the cadical binary
12- target_compile_options(cadical PUBLIC -DNBUILD -DNFLEXIBLE)
12+ target_compile_options(cadical PRIVATE -DNBUILD -DNFLEXIBLE -DNDEBUG )
1313
1414set_target_properties(
1515 cadical
Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ solvers$(LIBEXT): $(OBJ) $(SOLVER_LIB)
281281 $(LINKLIB )
282282
283283../../cadical/build/libcadical$(LIBEXT ) :
284- $(MAKE ) $(MAKEARGS ) -C $(CADICAL ) /build libcadical.a CXX=" $( CXX) " CXXFLAGS=" $( CP_CXXFLAGS) -DNFLEXIBLE"
284+ $(MAKE ) $(MAKEARGS ) -C $(CADICAL ) /build libcadical.a CXX=" $( CXX) " CXXFLAGS=" $( CP_CXXFLAGS) -DNFLEXIBLE -DNDEBUG "
285285
286286-include smt2/smt2_solver$(DEPEXT )
287287
You can’t perform that action at this time.
0 commit comments