Skip to content

Commit 3dccc4d

Browse files
committed
[cmake] removed unnecessary boost libraries
1 parent 536beab commit 3dccc4d

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ endif(APPLE)
112112

113113
# FIND BOOST
114114
#set(BOOST_REQUIRED_COMPONENTS "chrono;date_time;filesystem;program_options;serialization;system;thread;timer;math_c99")
115-
set(BOOST_REQUIRED_COMPONENTS "chrono;date_time;filesystem;program_options;serialization;thread;timer")
115+
set(BOOST_REQUIRED_COMPONENTS "date_time;filesystem;program_options;serialization;timer")
116116
if(WIN32)
117117
set(BOOST_REQUIRED_COMPONENTS "${BOOST_REQUIRED_COMPONENTS};stacktrace_windbg")
118118
else()

src/CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,8 @@ if(CCTAG_WITH_CUDA)
175175
target_link_libraries(CCTag
176176
${OpenCV_LIBS}
177177
Boost::date_time
178-
Boost::chrono
179-
Boost::thread
180178
Boost::serialization
181-
Boost::system
182179
Boost::filesystem
183-
Boost::program_options
184180
Boost::timer
185181
# Boost::math_c99
186182
Eigen3::Eigen
@@ -228,12 +224,9 @@ else() # without CUDA
228224
PUBLIC
229225
${OpenCV_LIBS}
230226
Eigen3::Eigen
231-
Boost::chrono
232227
Boost::date_time
233228
Boost::filesystem
234229
Boost::serialization
235-
# Boost::system
236-
Boost::thread
237230
Boost::timer
238231
# Boost::math_c99
239232
PRIVATE

src/applications/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ endif()
4040

4141
# BOOST
4242
if(NOT TARGET Boost::boost)
43-
set(BOOST_REQUIRED_COMPONENTS "date_time;chrono;thread;serialization;system;filesystem;atomic;program_options;timer")
43+
set(BOOST_REQUIRED_COMPONENTS "date_time;serialization;filesystem;program_options;timer")
4444
if(WIN32)
4545
set(BOOST_REQUIRED_COMPONENTS "${BOOST_REQUIRED_COMPONENTS};stacktrace_windbg")
4646
else()

0 commit comments

Comments
 (0)