diff options
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 78236f989..2679f6072 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1148,8 +1148,7 @@ if(USE_GLPK) target_include_directories(cvc4 PRIVATE ${GLPK_INCLUDE_DIR}) endif() if(USE_POLY) - target_link_libraries(cvc4 PRIVATE ${POLY_LIBRARIES}) - target_include_directories(cvc4 PRIVATE ${POLY_INCLUDE_DIR}) + target_link_libraries(cvc4 PRIVATE Polyxx) endif() if(USE_SYMFPU) target_link_libraries(cvc4 PRIVATE SymFPU) @@ -1157,8 +1156,7 @@ endif() # Note: When linked statically GMP needs to be linked after CLN since CLN # depends on GMP. -target_link_libraries(cvc4 PRIVATE ${GMP_LIBRARIES}) -target_include_directories(cvc4 PRIVATE $<BUILD_INTERFACE:${GMP_INCLUDE_DIR}>) +target_link_libraries(cvc4 PRIVATE GMP) # Add rt library # Note: For glibc < 2.17 we have to additionally link against rt (man clock_gettime). |