Skip to content

Commit cd3a177

Browse files
committed
Fix ipasir-cadical build flags
CaDiCaL should be built with optimisations turned on, and the compiler must not be hard-coded. This is now consistent with sat_impl=cadical build flags.
1 parent 03d53f9 commit cd3a177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solvers/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ elseif("${sat_impl}" STREQUAL "ipasir-cadical")
139139
download_project(PROJ cadical
140140
URL https://github.com/arminbiere/cadical/archive/rel-1.4.1.tar.gz
141141
PATCH_COMMAND true
142-
COMMAND ./configure CXX=g++
142+
COMMAND CXX=${CMAKE_CXX_COMPILER} ./configure -O3 -s CXXFLAGS=-std=c++14
143143
URL_MD5 b44874501a175106424f4bd5de29aa59
144144
)
145145

0 commit comments

Comments
 (0)