void-packages/srcpkgs/ledger/patches/boost-1.89.patch
Đoàn Trần Công Danh 50c6985612 ledger: for boost-1.89
2025-08-31 08:27:06 +07:00

19 lines
621 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -90,14 +90,11 @@ endif()
# Set BOOST_ROOT to help CMake to find the right Boost version
find_package(Boost 1.49.0
- REQUIRED date_time filesystem system iostreams regex unit_test_framework
+ REQUIRED filesystem iostreams unit_test_framework
${BOOST_PYTHON} OPTIONAL_COMPONENTS nowide)
# enable Boost::nowide library (for UTF8 command line args on Windows)
-set(HAVE_BOOST_NOWIDE 0)
-if (Boost_NOWIDE_FOUND)
- set(HAVE_BOOST_NOWIDE 1)
-endif()
+set(HAVE_BOOST_NOWIDE 1)
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
link_directories(${Boost_LIBRARY_DIRS})