Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Netlib f2c
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
netlib
Netlib f2c
Commits
8656601b
Verified
Commit
8656601b
authored
Apr 15, 2024
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
de48b644
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
+3
-3
3 additions, 3 deletions
packaging/CMakeLists.txt
with
3 additions
and
3 deletions
packaging/CMakeLists.txt
+
3
−
3
View file @
8656601b
...
...
@@ -22,7 +22,7 @@ include(CMakePackageConfigHelpers)
if
(
NOT DEFINED NetlibF2C_INSTALL_CMAKEDIR
)
set
(
NetlibF2C_INSTALL_CMAKEDIR
"
${
CMAKE_INSTALL_LIBDIR
}
/cmake/
${
PROJECT_NAME
}
"
"
${
CMAKE_INSTALL_LIBDIR
}
/cmake/
${
PROJECT_NAME
}
-
${
PROJECT_VERSION
}
"
CACHE
STRING
"Path to Netlib LibF2C CMake files"
...
...
@@ -82,7 +82,7 @@ install(
FILES
"
${
LIBF2C_SOURCE_DIR
}
/Notice"
RENAME copyright
DESTINATION
"
${
CMAKE_INSTALL_DATAROOTDIR
}
/doc/
${
PROJECT_NAME
}
"
DESTINATION
"
${
CMAKE_INSTALL_DATAROOTDIR
}
/doc/
${
PROJECT_NAME
}
-
${
PROJECT_VERSION
}
"
COMPONENT library
)
...
...
@@ -90,7 +90,7 @@ install(
FILES
"
${
LIBF2C_SOURCE_DIR
}
/Notice"
RENAME copyright
DESTINATION
"
${
CMAKE_INSTALL_DATAROOTDIR
}
/doc/
${
PROJECT_NAME
}
"
DESTINATION
"
${
CMAKE_INSTALL_DATAROOTDIR
}
/doc/
${
PROJECT_NAME
}
-
${
PROJECT_VERSION
}
"
COMPONENT executable
)
...
...
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