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
f87dced5
"git@developer.sourcefind.cn:gaoqiong/composable_kernel.git" did not exist on "8a60a329a734ab61b5bbe4a4114145e442d6c933"
Commit
f87dced5
authored
Oct 18, 2011
by
Jesse Beder
Browse files
Fixed installation (we now install the whole include header tree)
parent
62361e6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
CMakeLists.txt
CMakeLists.txt
+4
-3
No files found.
CMakeLists.txt
View file @
f87dced5
...
...
@@ -64,6 +64,8 @@ configure_file(${YAML_CPP_SOURCE_DIR}/include/yaml-cpp/yaml.h.cmake ${YAML_CPP_S
###
### Sources, headers, directories and libs
###
set
(
header_directory
"include/yaml-cpp/"
)
file
(
GLOB common_sources
"src/[a-zA-Z]*.cpp"
)
file
(
GLOB new_api_sources
"src/node/[a-zA-Z]*.cpp"
...
...
@@ -294,10 +296,9 @@ endif()
install
(
TARGETS yaml-cpp
${
_INSTALL_DESTINATIONS
}
)
install
(
FILES
${
public_headers
}
${
contrib_public_headers
}
DIRECTORY
${
header_directory
}
DESTINATION
${
INCLUDE_INSTALL_DIR
}
FILES_MATCHING PATTERN
"*.h"
)
if
(
UNIX
)
...
...
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