mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Merge pull request #867 from xvitaly/fix-cmake-install
Fixed installation on GNU/Linux distributions
This commit is contained in:
commit
9f6a9a5807
@ -89,7 +89,7 @@ install(
|
|||||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
||||||
)
|
)
|
||||||
# Make library importable by other projects
|
# 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)
|
export(TARGETS GSL NAMESPACE Microsoft.GSL:: FILE Microsoft.GSLConfig.cmake)
|
||||||
|
|
||||||
# Add Microsoft.GSL::GSL alias for GSL so that dependents can be agnostic about
|
# Add Microsoft.GSL::GSL alias for GSL so that dependents can be agnostic about
|
||||||
|
Loading…
Reference in New Issue
Block a user