mirror of
https://github.com/g-truc/glm.git
synced 2025-04-05 05:25:02 +00:00
export target
This commit is contained in:
parent
33b4a621a6
commit
b5d6cef28f
1 changed files with 5 additions and 0 deletions
|
@ -270,6 +270,11 @@ if (GLM_BUILD_INSTALL)
|
|||
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/glm"
|
||||
FILE glmConfig.cmake
|
||||
)
|
||||
export(
|
||||
TARGETS glm glm-header-only
|
||||
NAMESPACE glm::
|
||||
FILE "${CMAKE_INSTALL_DATAROOTDIR}/glm/glmConfig.cmake"
|
||||
)
|
||||
include(CMakePackageConfigHelpers)
|
||||
write_basic_package_version_file(
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/glmConfigVersion.cmake"
|
||||
|
|
Loading…
Add table
Reference in a new issue