@@ -50,9 +50,8 @@ target_link_libraries(tight_inclusion PRIVATE warnings::all)
5050#Optional
5151#GMP
5252if (TIGHT_INCLUSION_WITH_GMP)
53- message (STATUS "TIGHT_INCLUSION_WITH_GMP is defined, now using rational root finder" )
54- target_include_directories (tight_inclusion PUBLIC ${GMP_INCLUDE_DIRS} src)
55- target_link_libraries (tight_inclusion PUBLIC ${GMP_LIBRARIES} )
53+ message (STATUS "TIGHT_INCLUSION_WITH_GMP is defined, now using rational root finder" )
54+ target_link_libraries (tight_inclusion PUBLIC gmp::gmp)
5655 target_compile_definitions (tight_inclusion PUBLIC TIGHT_INCLUSION_USE_GMP)
5756endif ()
5857
@@ -74,7 +73,7 @@ if (TIGHT_INCLUSION_WITH_DOUBLE_PRECISION)
7473 target_compile_definitions (tight_inclusion PUBLIC TIGHT_INCLUSION_DOUBLE)
7574 message (STATUS "Using Double Precision Floating Points" )
7675else ()
77- message (STATUS "Using Single Precision Floating Points" )
76+ message (STATUS "Using Single Precision Floating Points" )
7877endif ()
7978if (TIGHT_INCLUSION_LIMIT_QUEUE_SIZE)
8079 target_compile_definitions (tight_inclusion PUBLIC TI_LIMIT_QUEUE_SIZE)
@@ -103,10 +102,9 @@ if(TIGHT_INCLUSION_TOPLEVEL_PROJECT)
103102 ticcd_download_sample_queries()
104103
105104 if (NOT TIGHT_INCLUSION_WITH_GMP AND TIGHT_INCLUSION_WITH_TESTS)
106- target_include_directories (tight_inclusion PUBLIC ${GMP_INCLUDE_DIRS} src)
107- target_link_libraries (tight_inclusion PUBLIC ${GMP_LIBRARIES} )
105+ target_link_libraries (tight_inclusion PUBLIC gmp::gmp)
108106 target_compile_definitions (tight_inclusion PUBLIC TIGHT_INCLUSION_RUN_EXAMPLES)
109107 target_compile_definitions (Tight_Inclusion_bin PUBLIC
110- TICCD_EXAMPLE_QUERIES_DIR="${CMAKE_CURRENT_SOURCE_DIR} /external/Sample-Queries/" )
108+ TICCD_EXAMPLE_QUERIES_DIR="${CMAKE_CURRENT_SOURCE_DIR} /external/Sample-Queries/" )
111109 endif ()
112110endif ()
0 commit comments