Skip to content

Commit

Permalink
rm look for boost in cmakelists
Browse files Browse the repository at this point in the history
  • Loading branch information
endyul committed Jun 3, 2017
1 parent a21b6be commit 5158277
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/srl/include/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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})
target_link_libraries(base_shared_lib ${Boost_LIBRARIES})

0 comments on commit 5158277

Please sign in to comment.