mirror of
https://github.com/g-truc/glm.git
synced 2024-11-16 14:54:35 +00:00
glm: install headers only
Plausibility check in root source path $ find glm -type f ! -name '*.hpp' ! -name '*.h' ! -name '*.inl' glm/detail/glm.cpp glm/detail/dummy.cpp glm/experimental.hpp.in glm/CMakeLists.txt Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
parent
99a9676a01
commit
7fdd36d749
@ -171,7 +171,12 @@ option(GLM_INSTALL_ENABLE "GLM install" ON)
|
|||||||
|
|
||||||
set(GLM_INSTALL_CONFIGDIR "${CMAKE_INSTALL_LIBDIR}/cmake/glm")
|
set(GLM_INSTALL_CONFIGDIR "${CMAKE_INSTALL_LIBDIR}/cmake/glm")
|
||||||
if (GLM_INSTALL_ENABLE)
|
if (GLM_INSTALL_ENABLE)
|
||||||
install(DIRECTORY glm DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
install(DIRECTORY glm
|
||||||
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
||||||
|
FILES_MATCHING
|
||||||
|
PATTERN "*.h"
|
||||||
|
PATTERN "*.hpp"
|
||||||
|
PATTERN "*.inl")
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/experimental.hpp" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/glm)
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/experimental.hpp" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/glm)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user