Modify CMake commands in Boost build-up scripts to use platform-independent form

This commit is contained in:
Roberto Di Remigio
2015-11-09 21:53:26 -05:00
parent 7c4dac37ce
commit 6dd61417bb
6 changed files with 7 additions and 3 deletions

View File

@ -3,6 +3,7 @@
# Detect, build, and link Boost libraries.
# This modules downloads the .zip archive from SourceForge at
# Autocmake update time.
# Note that the build-up commands are not Windows-compatible!
#
# Your autocmake.cfg should look like this::
#
@ -164,7 +165,7 @@ if(BUILD_CUSTOM_BOOST)
set(Boost_INCLUDE_DIRS ${Boost_INCLUDE_DIR})
set(Boost_LIBRARY_DIRS ${Boost_LIBRARY_DIR})
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
if(CMAKE_SYSTEM_NAME MATCHES Linux)
list(APPEND Boost_LIBRARIES rt)
endif()
endif()