3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-18 12:03:50 +01:00

We should be using the triqs::gtest target for linking

This commit is contained in:
Nils Wentzell 2019-04-22 11:25:20 -04:00
parent 87a67e8d06
commit 9315b02800

View File

@ -10,7 +10,7 @@ set(all_tests toto)
foreach(test ${all_tests})
get_filename_component(test_name ${test} NAME_WE)
add_executable(${test_name} ${test})
target_link_libraries(${test_name} app4triqs_c gtest)
target_link_libraries(${test_name} app4triqs_c triqs::gtest)
add_test(${test_name} ${test_name})
# Run clang-tidy if found
if(CLANG_TIDY_EXECUTABLE)