Skip to content

Commit

Permalink
build: loosen boost version req to 1.82 (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-liang3 authored Jan 31, 2025
1 parent c5a2c3d commit 9f5a79b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ ENDFOREACH ()

## Dependencies

### Boost [1.87.0]
### Boost [1.82.0]

IF (BUILD_WITH_BOOST_STATIC)
SET (Boost_USE_STATIC_LIBS ON)
Expand All @@ -248,7 +248,7 @@ SET (Boost_USE_MULTITHREADED ON)

IF (BUILD_WITH_BOOST_STACKTRACE)

FIND_PACKAGE ("Boost" "1.87" REQUIRED COMPONENTS "date_time" "regex" "filesystem")
FIND_PACKAGE ("Boost" "1.82" REQUIRED COMPONENTS "date_time" "regex" "filesystem")

## Stacktrace definitions
# Detect system architecture
Expand All @@ -266,7 +266,7 @@ IF (BUILD_WITH_BOOST_STACKTRACE)
ADD_DEFINITIONS(-DBOOST_STACKTRACE_USE_BACKTRACE)
ADD_DEFINITIONS(-DBOOST_STACKTRACE_BACKTRACE_INCLUDE_FILE=<${BACKTRACE_INCLUDE}>)
ELSE()
FIND_PACKAGE ("Boost" "1.87" REQUIRED COMPONENTS "date_time" "regex" "filesystem" "stacktrace_basic")
FIND_PACKAGE ("Boost" "1.82" REQUIRED COMPONENTS "date_time" "regex" "filesystem" "stacktrace_basic")
ENDIF()

IF (NOT Boost_FOUND)
Expand Down

0 comments on commit 9f5a79b

Please sign in to comment.