Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
b8882652
Unverified
Commit
b8882652
authored
Jun 28, 2023
by
Ryan
Committed by
GitHub
Jun 28, 2023
Browse files
Add namespace for the exported targets (#1196)
This matches the name for the ALIAS targets, and fixes #1025.
parent
0e6e28d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
CMakeLists.txt
CMakeLists.txt
+1
-0
No files found.
CMakeLists.txt
View file @
b8882652
...
@@ -168,6 +168,7 @@ if (YAML_CPP_INSTALL)
...
@@ -168,6 +168,7 @@ if (YAML_CPP_INSTALL)
DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
FILES_MATCHING PATTERN
"*.h"
)
FILES_MATCHING PATTERN
"*.h"
)
install
(
EXPORT yaml-cpp-targets
install
(
EXPORT yaml-cpp-targets
NAMESPACE yaml-cpp::
DESTINATION
"
${
CONFIG_EXPORT_DIR
}
"
)
DESTINATION
"
${
CONFIG_EXPORT_DIR
}
"
)
install
(
FILES
install
(
FILES
"
${
PROJECT_BINARY_DIR
}
/yaml-cpp-config.cmake"
"
${
PROJECT_BINARY_DIR
}
/yaml-cpp-config.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