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
d2f5a608
Commit
d2f5a608
authored
Jan 11, 2012
by
beder
Browse files
Added boost find/includes to the new API CMake instructions
parent
c82122ba
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 @
d2f5a608
...
...
@@ -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