blob: fc2359096a17d975774f7f861ecb86d65005bf18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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()
|