Skip to content

Commit

Permalink
Merge pull request #867 from xvitaly/fix-cmake-install
Browse files Browse the repository at this point in the history
Fixed installation on GNU/Linux distributions
  • Loading branch information
JordanMaples authored Apr 17, 2020
2 parents b438556 + aeb65ef commit 9f6a9a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f6a9a5

Please sign in to comment.