Removing unnecessary boost dependencies - may need more fixing
parent
575fcb999b
commit
00b6f177d2
|
@ -101,7 +101,7 @@ endif()
|
|||
if(CYGWIN OR MSVC OR WIN32)
|
||||
set(Boost_USE_STATIC_LIBS 1)
|
||||
endif()
|
||||
find_package(Boost 1.42 COMPONENTS serialization system filesystem thread REQUIRED)
|
||||
find_package(Boost 1.42 COMPONENTS serialization REQUIRED)
|
||||
|
||||
# General build settings
|
||||
include_directories(
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# Build/install Wrap
|
||||
|
||||
find_package(Boost 1.42 COMPONENTS system filesystem thread REQUIRED)
|
||||
|
||||
# Build the executable itself
|
||||
file(GLOB wrap_srcs "*.cpp")
|
||||
list(REMOVE_ITEM wrap_srcs wrap.cpp)
|
||||
|
@ -18,7 +20,7 @@ install(FILES matlab.h DESTINATION include/wrap)
|
|||
# Build tests
|
||||
if (GTSAM_BUILD_TESTS)
|
||||
add_definitions(-DTOPSRCDIR="${CMAKE_SOURCE_DIR}")
|
||||
set(wrap_local_libs wrap_lib)
|
||||
set(wrap_local_libs wrap_lib ${Boost_SYSTEM_LIBRARY} ${Boost_FILESYSTEM_LIBRARY})
|
||||
gtsam_add_subdir_tests("wrap" "${wrap_local_libs}" "${wrap_local_libs}" "")
|
||||
endif(GTSAM_BUILD_TESTS)
|
||||
|
||||
|
|
Loading…
Reference in New Issue