Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LoadStaticSharedTargets
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CMake
LoadStaticSharedTargets
Commits
6fe324ba
Unverified
Commit
6fe324ba
authored
1 year ago
by
Tim Kaune
Browse files
Options
Downloads
Patches
Plain Diff
Add project version to CMake package script install location
Add project version to copyright notice install location
parent
0e71e76a
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
packaging/CMakeLists.txt
+2
-2
2 additions, 2 deletions
packaging/CMakeLists.txt
with
2 additions
and
2 deletions
packaging/CMakeLists.txt
+
2
−
2
View file @
6fe324ba
...
...
@@ -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
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment