Skip to content
Snippets Groups Projects
Unverified Commit 6fe324ba authored by Tim Kaune's avatar Tim Kaune
Browse files

Add project version to CMake package script install location

Add project version to copyright notice install location
parent 0e71e76a
Branches
Tags
No related merge requests found
......@@ -28,7 +28,7 @@ include(CMakePackageConfigHelpers)
if (NOT DEFINED LoadStaticSharedTargets_INSTALL_CMAKEDIR)
set(
LoadStaticSharedTargets_INSTALL_CMAKEDIR
"${CMAKE_INSTALL_DATAROOTDIR}/cmake/${PROJECT_NAME}"
"${CMAKE_INSTALL_DATAROOTDIR}/cmake/${PROJECT_NAME}-${PROJECT_VERSION}"
CACHE
STRING
"Path to LoadStaticSharedTargets CMake files"
......@@ -39,7 +39,7 @@ install(
FILES
"../LICENSE"
RENAME copyright
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}"
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}-${PROJECT_VERSION}"
)
write_basic_package_version_file(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment