packages/spglib/fix-duplicate-libs.patch
2024-02-23 09:52:15 +01:00

19 lines
787 B
Diff

diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
index 14499af..6850d76 100644
--- a/python/CMakeLists.txt
+++ b/python/CMakeLists.txt
@@ -15,13 +15,6 @@
if (SPGLIB_INSTALL)
# TODO: Cmake forces to install PUBLIC_HEADER when defined
# https://gitlab.kitware.com/cmake/cmake/-/issues/24326
- install(TARGETS Spglib_symspg
- LIBRARY DESTINATION ${Python_INSTALL_DIR} COMPONENT Spglib_Runtime
- NAMELINK_COMPONENT Spglib_Development
- ARCHIVE DESTINATION ${Python_INSTALL_DIR} COMPONENT Spglib_Development
- PUBLIC_HEADER DESTINATION ${Python_INSTALL_DIR} COMPONENT Spglib_Development
- RUNTIME DESTINATION ${Python_INSTALL_DIR} COMPONENT Spglib_Runtime
- )
install(TARGETS Spglib_python
LIBRARY DESTINATION ${Python_INSTALL_DIR} COMPONENT Spglib_Runtime
)