From 0a85a21fc2e1fccf007ac1b38bfddae3161711fd Mon Sep 17 00:00:00 2001 From: Jenny Coulter Date: Mon, 12 Aug 2024 15:58:19 -0400 Subject: [PATCH] Update spglib name in link_libraries line in main CMake --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 45a5aecf..8c1c4a30 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,12 +61,12 @@ add_executable(runTests ${TEST_SOURCES} ${SOURCE_FILES}) set_target_properties(runTests PROPERTIES EXCLUDE_FROM_ALL TRUE) # dependencies -add_dependencies(phoebe spglib_dep pugixml_dep eigen_dep) -add_dependencies(runTests spglib_dep pugixml_dep eigen_dep) +add_dependencies(phoebe pugixml_dep eigen_dep) +add_dependencies(runTests pugixml_dep eigen_dep) -target_link_libraries(phoebe symspg pugixml kokkos Kokkos::kokkoskernels nlohmann_json::nlohmann_json) +target_link_libraries(phoebe Spglib::symspg pugixml kokkos Kokkos::kokkoskernels nlohmann_json::nlohmann_json) enable_testing() -target_link_libraries(runTests symspg pugixml gtest_main kokkos Kokkos::kokkoskernels nlohmann_json::nlohmann_json) +target_link_libraries(runTests Spglib::symspg pugixml gtest_main kokkos Kokkos::kokkoskernels nlohmann_json::nlohmann_json) gtest_discover_tests( runTests