Added boost::regex to cmakelists.

This commit is contained in:
bubnikv 2017-12-20 22:13:19 +01:00
parent fed5128b7f
commit 1bf67b4b62

View File

@ -440,7 +440,7 @@ if(SLIC3R_STATIC)
# Use boost libraries linked statically to the C++ runtime. # Use boost libraries linked statically to the C++ runtime.
# set(Boost_USE_STATIC_RUNTIME ON) # set(Boost_USE_STATIC_RUNTIME ON)
endif() endif()
find_package(Boost REQUIRED COMPONENTS system filesystem thread log locale) find_package(Boost REQUIRED COMPONENTS system filesystem thread log locale regex)
if(Boost_FOUND) if(Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS}) include_directories(${Boost_INCLUDE_DIRS})
target_link_libraries(XS ${Boost_LIBRARIES}) target_link_libraries(XS ${Boost_LIBRARIES})