Skip to content

Commit

Permalink
Merge pull request #168 from Blup1980/vcpkg_boost_math
Browse files Browse the repository at this point in the history
Fix missing reference to Boost::math_c99 in CMakeLists.txt
  • Loading branch information
simogasp authored Sep 5, 2021
2 parents 7f57821 + 5caf442 commit 9fb60f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ if(APPLE)
endif(APPLE)

# FIND BOOST
set(BOOST_REQUIRED_COMPONENTS "atomic;chrono;date_time;filesystem;program_options;serialization;system;thread;timer")
set(BOOST_REQUIRED_COMPONENTS "atomic;chrono;date_time;filesystem;program_options;serialization;system;thread;timer;math_c99")
if(WIN32)
set(BOOST_REQUIRED_COMPONENTS "${BOOST_REQUIRED_COMPONENTS};stacktrace_windbg")
else()
Expand Down
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ if(CCTAG_WITH_CUDA)
# since we used CUDA_ADD_LIBRARY we cannot use PUBLIC or PRIVATE here
target_link_libraries(CCTag
${OpenCV_LIBS}
Boost::date_time Boost::chrono Boost::thread Boost::serialization Boost::system Boost::filesystem Boost::atomic Boost::program_options Boost::timer
Boost::date_time Boost::chrono Boost::thread Boost::serialization Boost::system Boost::filesystem Boost::atomic Boost::program_options Boost::timer Boost::math_c99
Eigen3::Eigen
${TBB_LIBRARIES} ${CUDA_CUDADEVRT_LIBRARY})

Expand Down Expand Up @@ -227,7 +227,7 @@ else() # without CUDA
PUBLIC
${OpenCV_LIBS}
Eigen3::Eigen
Boost::atomic Boost::chrono Boost::date_time Boost::filesystem Boost::serialization Boost::system Boost::thread Boost::timer
Boost::atomic Boost::chrono Boost::date_time Boost::filesystem Boost::serialization Boost::system Boost::thread Boost::timer Boost::math_c99
PRIVATE
${TBB_LIBRARIES})

Expand Down

0 comments on commit 9fb60f4

Please sign in to comment.