Skip to content

Commit

Permalink
Remove custom FindSPGLIB
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
  • Loading branch information
LecrisUT committed Jan 25, 2024
1 parent 69601db commit 836ecb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 30 deletions.
4 changes: 2 additions & 2 deletions avogadro/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ if(NOT PYTHON_WHEEL_BUILD)
endif()

if(USE_SPGLIB)
find_package(SPGLIB REQUIRED)
find_package(Spglib REQUIRED)
avogadro_headers(Core avospglib.h)
target_sources(Core PRIVATE avospglib.cpp)
target_link_libraries(Core PRIVATE spglib::spglib)
target_link_libraries(Core PRIVATE Spglib::symspg)
endif()

# The std::shared_mutex class needs pthreads on Linux.
Expand Down
28 changes: 0 additions & 28 deletions cmake/FindSPGLIB.cmake

This file was deleted.

0 comments on commit 836ecb2

Please sign in to comment.