mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-02-11 04:39:58 +08:00
Add boost::system to linkage to support boost 1.50. Should not cause any issue for older users of boost
This commit is contained in:
parent
46d1c50923
commit
8f7226051e
@ -79,7 +79,7 @@ set (Chai_INCLUDES include/chaiscript/chaiscript.hpp include/chaiscript/chaiscri
|
|||||||
set_source_files_properties(${Chai_INCLUDES} PROPERTIES HEADER_FILE_ONLY TRUE)
|
set_source_files_properties(${Chai_INCLUDES} PROPERTIES HEADER_FILE_ONLY TRUE)
|
||||||
|
|
||||||
if (MULTITHREAD_SUPPORT_ENABLED)
|
if (MULTITHREAD_SUPPORT_ENABLED)
|
||||||
find_package(Boost 1.36.0 COMPONENTS thread)
|
find_package(Boost 1.36.0 COMPONENTS thread system)
|
||||||
|
|
||||||
if (Boost_FOUND)
|
if (Boost_FOUND)
|
||||||
link_directories( ${Boost_LIBRARY_DIRS} )
|
link_directories( ${Boost_LIBRARY_DIRS} )
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user