summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2024-01-17 00:06:43 +0100
committerJohn Wiegley <johnw@newartisans.com>2024-07-08 10:12:53 -0700
commitb3d65517121ac67637dfe2bd81e15f84fb0593aa (patch)
tree56fe5b9ac0a2b2c175492a0e8e5fe980738b64b9
parentaa398fa1634da1e003744efaba64e6321fb5fff9 (diff)
downloadledger-b3d65517121ac67637dfe2bd81e15f84fb0593aa.tar.gz
ledger-b3d65517121ac67637dfe2bd81e15f84fb0593aa.tar.bz2
ledger-b3d65517121ac67637dfe2bd81e15f84fb0593aa.zip
cmake: Fix BOOST_REGEX_UNICODE_RUNS check when USE_PYTHON=ON
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c11e39e3..63dacc12 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -162,7 +162,7 @@ endif()
cmake_push_check_state()
set(CMAKE_REQUIRED_INCLUDES ${CMAKE_INCLUDE_PATH} ${Boost_INCLUDE_DIRS} ${ICUE_INCLUDE_DIRS})
-set(CMAKE_REQUIRED_LIBRARIES ${Boost_LIBRARIES} ${ICU_LIBRARIES} ${PROFILE_LIBS})
+set(CMAKE_REQUIRED_LIBRARIES Boost::regex ${ICU_LIBRARIES} ${PROFILE_LIBS})
check_cxx_source_runs("
#include <boost/regex/icu.hpp>