Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
CoMISo
CoMISo
Commits
b6953c42
Commit
b6953c42
authored
Feb 21, 2019
by
Max Lyon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
export CoMISo targets
parent
7189372a
Pipeline
#8754
failed with stages
in 2 minutes and 1 second
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
4 deletions
+18
-4
CMakeLists.txt
CMakeLists.txt
+14
-4
cmake/CoMISoConfig.cmake
cmake/CoMISoConfig.cmake
+4
-0
No files found.
CMakeLists.txt
View file @
b6953c42
...
...
@@ -558,7 +558,7 @@ endif (COMISO_BUILD_EXAMPLES )
if
(
${
PROJECT_NAME
}
MATCHES
"CoMISo"
)
# Install library
install
(
TARGETS CoMISo
install
(
TARGETS CoMISo
EXPORT CoMISoTargets
RUNTIME DESTINATION lib
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
...
...
@@ -582,5 +582,15 @@ if(${PROJECT_NAME} MATCHES "CoMISo")
install
(
FILES
${
CMAKE_BINARY_DIR
}
/CoMISo/Config/config.hh
DESTINATION include/CoMISo/Config
)
install
(
EXPORT CoMISoTargets
FILE CoMISoTargets.cmake
NAMESPACE CoMISo::
DESTINATION cmake
)
install
(
FILES
"
${
CMAKE_CURRENT_LIST_DIR
}
/cmake/CoMISoConfig.cmake"
DESTINATION cmake
)
endif
()
cmake/CoMISoConfig.cmake
0 → 100644
View file @
b6953c42
include
(
CMakeFindDependencyMacro
)
# Add the targets file
include
(
"
${
CMAKE_CURRENT_LIST_DIR
}
/CoMISoTargets.cmake"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment