mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-08 21:13:04 +02:00
19 lines
621 B
Diff
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})
|