Skip to content

Commit

Permalink
Restore boost-stacktrace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwason committed Jan 10, 2025
1 parent a52c473 commit 459f9b2
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions tesseract_common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,22 @@ endif()
include(cmake/tesseract_macros.cmake)
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/")

find_package(
Boost REQUIRED
COMPONENTS system
filesystem
serialization
stacktrace_noop)
if(NOT APPLE)
find_package(
Boost REQUIRED
COMPONENTS system
filesystem
serialization
stacktrace_noop
OPTIONAL_COMPONENTS stacktrace_backtrace stacktrace_basic)
else()
find_package(
Boost REQUIRED
COMPONENTS system
filesystem
serialization
stacktrace_noop)
endif()
find_package(Eigen3 REQUIRED)
find_package(TinyXML2 REQUIRED)
find_package(yaml-cpp REQUIRED)
Expand Down

0 comments on commit 459f9b2

Please sign in to comment.