diff --git a/src/srl/include/CMakeLists.txt b/src/srl/include/CMakeLists.txt index aec4e1b62..f91c981fb 100644 --- a/src/srl/include/CMakeLists.txt +++ b/src/srl/include/CMakeLists.txt @@ -1,9 +1,3 @@ -# look for Boost -if(DEFINED ENV{BOOST_ROOT}) - set(Boost_NO_SYSTEM_PATHS ON) -endif() -set(Boost_REALPATH ON) -find_package(Boost COMPONENTS program_options REQUIRED) include_directories(${Boost_INCLUDE_DIR}) set(base_src @@ -14,4 +8,4 @@ set(base_src add_library(base_static_lib STATIC ${base_src}) target_link_libraries(base_static_lib ${Boost_LIBRARIES}) add_library(base_shared_lib SHARED ${base_src}) -target_link_libraries(base_shared_lib ${Boost_LIBRARIES}) \ No newline at end of file +target_link_libraries(base_shared_lib ${Boost_LIBRARIES})