Skip to content

Commit

Permalink
Fix for old boost
Browse files Browse the repository at this point in the history
  • Loading branch information
fdr400 committed Jan 8, 2025
1 parent b907c8a commit 04c07ea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions universal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,12 @@ else()
libzstd
CryptoPP
)

if(Boost_USE_STATIC_LIBS AND Boost_FOUND AND Boost_VERSION VERSION_LESS 1.75)
# https://github.com/boostorg/locale/issues/156
find_package(ICU COMPONENTS uc i18n uc REQUIRED)
target_link_libraries(${PROJECT_NAME} PRIVATE ICU::uc ICU::18n ICU::uc)
endif()
endif()

target_include_directories(${PROJECT_NAME}
Expand Down

0 comments on commit 04c07ea

Please sign in to comment.