Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
dynamic-graph-python
Commits
8fc08b88
Commit
8fc08b88
authored
Mar 01, 2012
by
Duong Dang
Browse files
Add appropriate flag. file_system::file_string is deprecated since boost 1.46.
parent
817e59ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
8fc08b88
...
...
@@ -46,8 +46,17 @@ INSTALL(TARGETS ${LIBRARY_NAME}
DESTINATION lib
)
SET
(
EXECUTABLE_NAME dg-python
)
IF
(
${
Boost_VERSION
}
VERSION_GREATER
"1.45"
)
MESSAGE
(
STATUS
"Adding deprecated flag to boost"
)
ADD_DEFINITIONS
(
-DBOOST_FILESYSTEM_DEPRECATED
)
ENDIF
()
ADD_EXECUTABLE
(
${
EXECUTABLE_NAME
}
dg-python.cc
)
TARGET_LINK_LIBRARIES
(
${
EXECUTABLE_NAME
}
${
Boost_LIBRARIES
}
${
LIBRARY_NAME
}
)
INSTALL
(
TARGETS dg-python DESTINATION bin
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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