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
8e8dec68
Verified
Commit
8e8dec68
authored
3 months ago
by
Tim Kaune
Browse files
Options
Downloads
Patches
Plain Diff
Move installed headers to subfolder with project name
Cleanup packaging
parent
1f4ff7f5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
packaging/CMakeLists.txt
+4
-6
4 additions, 6 deletions
packaging/CMakeLists.txt
with
4 additions
and
6 deletions
packaging/CMakeLists.txt
+
4
−
6
View file @
8e8dec68
...
...
@@ -36,7 +36,7 @@ endif ()
install
(
TARGETS f2c
EXPORT NetlibF2C_Targets-executable
RUNTIME
COMPONENT executable
COMPONENT executable
)
install
(
...
...
@@ -48,7 +48,7 @@ install(
)
target_include_directories
(
libf2c PUBLIC
"$<INSTALL_INTERFACE:
${
CMAKE_INSTALL_INCLUDEDIR
}
>"
"$<INSTALL_INTERFACE:
${
CMAKE_INSTALL_INCLUDEDIR
}
/
${
PROJECT_NAME
}
-
${
PROJECT_VERSION
}
>"
)
set_property
(
...
...
@@ -61,10 +61,8 @@ set_property(
install
(
TARGETS libf2c libf2cWithFortranMain
EXPORT NetlibF2C_Targets-library
LIBRARY COMPONENT library
NAMELINK_COMPONENT library
ARCHIVE COMPONENT library
FILE_SET HEADERS COMPONENT library
COMPONENT library
FILE_SET HEADERS COMPONENT library DESTINATION
"
${
CMAKE_INSTALL_INCLUDEDIR
}
/
${
PROJECT_NAME
}
-
${
PROJECT_VERSION
}
"
)
install
(
...
...
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