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
92a35581
"docs/API_Reference_Guide.rst" did not exist on "cb3fac4d2a4e8bcac0e15118d7afd4af93301132"
Commit
92a35581
authored
Jan 11, 2012
by
Jesse Beder
Browse files
Added boost find/includes to the new API CMake instructions
parent
5b32d892
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
CMakeLists.txt
CMakeLists.txt
+2
-0
No files found.
CMakeLists.txt
View file @
92a35581
...
...
@@ -90,6 +90,8 @@ if(YAML_CPP_BUILD_OLD_API)
list
(
APPEND private_headers
${
common_private_headers
}
${
old_api_private_headers
}
)
add_definitions
(
-DYAML_CPP_OLD_API
)
else
()
find_package
(
Boost REQUIRED
)
include_directories
(
${
Boost_INCLUDE_DIRS
}
)
list
(
APPEND sources
${
common_sources
}
${
new_api_sources
}
)
list
(
APPEND public_headers
${
common_public_headers
}
${
new_api_public_headers
}
)
list
(
APPEND private_headers
${
common_private_headers
}
${
new_api_private_headers
}
)
...
...
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