diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2021-11-08 09:47:40 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2021-11-08 10:48:30 +0300 |
commit | 5b5a8c93ceb2bd14b25ff7facb656da44ae17937 (patch) | |
tree | ce6bf23c32ec1d9f6026791abf7a382698ba05fa /CMakeLists.txt | |
parent | 1130f97d1ca9fd15e53906ed9fa3f0efcbb014f5 (diff) | |
download | bdwgc-5b5a8c93ceb2bd14b25ff7facb656da44ae17937.tar.gz |
Relax required dependencies for test_atomic_ops (CMake)
* CMakeLists.txt [build_tests && enable_threads] (test_atomic_ops):
Specify dependency on ${THREADDLLIBS_LIST} instead of "gc".
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ce3a0ea7..4b827f74 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -670,7 +670,7 @@ if (build_tests) if (enable_threads) add_executable(test_atomic_ops tests/test_atomic_ops.c) - target_link_libraries(test_atomic_ops PRIVATE gc) + target_link_libraries(test_atomic_ops PRIVATE ${THREADDLLIBS_LIST}) add_test(NAME test_atomic_ops COMMAND test_atomic_ops) add_executable(threadleaktest tests/thread_leak_test.c) |