diff options
author | Gereon Kremer <gereon.kremer@cs.rwth-aachen.de> | 2021-03-31 23:17:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-31 21:17:38 +0000 |
commit | f9a9af855fb65804ff0b36e764ccd9d0fa9f87f8 (patch) | |
tree | 2c90b0e704366541187198231102b2d1eed26f41 /test/api | |
parent | 39ea1d8a1497a83d1efc649bd10da82916e5db5f (diff) |
Refactor GMP and Poly dependencies (#6245)
Refactors GMP and libpoly to also use external projects and be available within cmake as proper targets.
Diffstat (limited to 'test/api')
-rw-r--r-- | test/api/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/api/CMakeLists.txt b/test/api/CMakeLists.txt index 239c32c94..1deea4a87 100644 --- a/test/api/CMakeLists.txt +++ b/test/api/CMakeLists.txt @@ -36,8 +36,7 @@ macro(cvc4_add_api_test name) target_link_libraries(${name} ${CLN_LIBRARIES}) target_include_directories(${name} PRIVATE $<BUILD_INTERFACE:${CLN_INCLUDE_DIR}>) endif() - target_link_libraries(${name} ${GMP_LIBRARIES}) - target_include_directories(${name} PRIVATE $<BUILD_INTERFACE:${GMP_INCLUDE_DIR}>) + target_link_libraries(${name} GMP) set_target_properties(${name} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${test_bin_dir}) add_test(api/${name} ${test_bin_dir}/${name}) |