Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/GSL.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com>2020-04-17 20:18:37 +0300
committerGitHub <noreply@github.com>2020-04-17 20:18:37 +0300
commit9f6a9a5807ad0de9c9c5294ece20639a5538f485 (patch)
treeb4a7fc03bddcc75b2a99d4e90e704f0d8c87e78f
parentb43855631afdb9f7ccd4b56ed05330a8e3817af1 (diff)
parentaeb65efadae47bce55308e721d73352465b7d689 (diff)
Merge pull request #867 from xvitaly/fix-cmake-install
Fixed installation on GNU/Linux distributions
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 57135b1..6a12c33 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -89,7 +89,7 @@ install(
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)
# Make library importable by other projects
-install(EXPORT Microsoft.GSLConfig NAMESPACE Microsoft.GSL:: DESTINATION share/Microsoft.GSL/cmake)
+install(EXPORT Microsoft.GSLConfig NAMESPACE Microsoft.GSL:: DESTINATION ${CMAKE_INSTALL_DATADIR}/cmake/Microsoft.GSL)
export(TARGETS GSL NAMESPACE Microsoft.GSL:: FILE Microsoft.GSLConfig.cmake)
# Add Microsoft.GSL::GSL alias for GSL so that dependents can be agnostic about