summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/cpp-netlib/files/0001-cmake-fixes.patch')
-rw-r--r--net-libs/cpp-netlib/files/0001-cmake-fixes.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/net-libs/cpp-netlib/files/0001-cmake-fixes.patch b/net-libs/cpp-netlib/files/0001-cmake-fixes.patch
new file mode 100644
index 0000000..fc23590
--- /dev/null
+++ b/net-libs/cpp-netlib/files/0001-cmake-fixes.patch
@@ -0,0 +1,31 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4667f23..9abd7d3 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -5,9 +5,9 @@
+
+ cmake_minimum_required(VERSION 2.8)
+ project(CPP-NETLIB)
+-set(Boost_USE_STATIC_LIBS ON)
+-set(Boost_USE_MULTI_THREADED ON)
+-find_package( Boost 1.45.0 REQUIRED unit_test_framework system regex date_time thread filesystem program_options )
++#set(Boost_USE_STATIC_LIBS ON)
++#set(Boost_USE_MULTI_THREADED ON)
++find_package( Boost REQUIRED unit_test_framework system regex date_time thread filesystem program_options )
+ find_package( OpenSSL )
+ find_package( Threads )
+ set(CMAKE_VERBOSE_MAKEFILE true)
+@@ -30,11 +30,11 @@ if (Boost_FOUND)
+ include_directories(${Boost_INCLUDE_DIRS})
+ enable_testing()
+ add_subdirectory(libs/network/src)
+- add_subdirectory(libs/network/test)
++ #add_subdirectory(libs/network/test)
+ if (NOT MSVC)
+ add_subdirectory(libs/mime/test)
+ endif(NOT MSVC)
+- add_subdirectory(libs/network/example)
++ #add_subdirectory(libs/network/example)
+ endif(Boost_FOUND)
+
+ enable_testing()