Skip to content

Commit

Permalink
Update spglib name in link_libraries line in main CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoulter12 authored Aug 12, 2024
1 parent c5c16ab commit 0a85a21
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a85a21

Please sign in to comment.