de1317a4a3
- Fix typo in patch glm-cmake-config.patch - Correct License - Reenable disabled tests (fixed by upstream) * core_func_exponential * gtc_packing * gtc_integer * gtx_common OBS-URL: https://build.opensuse.org/request/show/689009 OBS-URL: https://build.opensuse.org/package/show/science/glm?expand=0&rev=5
21 lines
745 B
Diff
21 lines
745 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 10bb1af..7514d3a 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -253,13 +253,12 @@ configure_file(cmake/glmBuildConfig.cmake.in glmConfig.cmake @ONLY)
|
|
# install tree package config
|
|
configure_package_config_file(
|
|
cmake/glmConfig.cmake.in
|
|
- ${GLM_INSTALL_CONFIGDIR}/glmConfig.cmake
|
|
- INSTALL_DESTINATION ${GLM_INSTALL_CONFIGDIR}
|
|
+ ${CMAKE_CURRENT_BINARY_DIR}/glmConfig.cmake
|
|
+ INSTALL_DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
|
|
PATH_VARS CMAKE_INSTALL_INCLUDEDIR
|
|
NO_CHECK_REQUIRED_COMPONENTS_MACRO)
|
|
|
|
install(FILES
|
|
- "${CMAKE_CURRENT_BINARY_DIR}/${GLM_INSTALL_CONFIGDIR}/glmConfig.cmake"
|
|
"${CMAKE_CURRENT_BINARY_DIR}/glmConfigVersion.cmake"
|
|
DESTINATION ${GLM_INSTALL_CONFIGDIR})
|
|
|