mcst-linux-kernel/patches-2024.06.26/glm-0.9.9.5/0002-not-install-cmake-file...

12 lines
587 B
Diff

--- a/CMakeLists.txt 2019-03-19 19:04:00.000000000 +0300
+++ b/CMakeLists.txt 2019-11-13 14:00:56.072140749 +0300
@@ -243,7 +243,7 @@
add_subdirectory(test)
set(GLM_INSTALL_CONFIGDIR "${CMAKE_INSTALL_LIBDIR}/cmake/glm")
-install(DIRECTORY glm DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+install(DIRECTORY glm DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} FILES_MATCHING PATTERN "*.h" PATTERN "*.hpp" PATTERN "*.inl" PATTERN "CMakeFiles" EXCLUDE)
write_basic_package_version_file("${CMAKE_CURRENT_BINARY_DIR}/glmConfigVersion.cmake" VERSION ${GLM_VERSION} COMPATIBILITY AnyNewerVersion)