You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CMakeLists.txt
+13-4
Original file line number
Diff line number
Diff line change
@@ -33,12 +33,14 @@ find_package( OpenSSL )
33
33
find_package( Threads )
34
34
set(CMAKE_VERBOSE_MAKEFILEtrue)
35
35
36
-
if(CMAKE_BUILD_TYPEMATCHES Debug)
37
-
add_definitions(-DNETWORK_DEBUG)
36
+
if(CMAKE_BUILD_TYPEMATCHES Debug)
37
+
add_definitions(-DNETWORK_DEBUG)
38
38
endif()
39
39
40
+
41
+
40
42
if (OPENSSL_FOUND)
41
-
add_definitions(-DNETWORK_ENABLE_HTTPS)
43
+
add_definitions(-DNETWORK_ENABLE_HTTPS)
42
44
endif()
43
45
44
46
if (${CMAKE_CXX_COMPILER_ID}MATCHES GNU)
@@ -77,12 +79,13 @@ if (Boost_FOUND)
77
79
include_directories(${Boost_INCLUDE_DIRS})
78
80
endif(Boost_FOUND)
79
81
80
-
message(STATUS"CPP-NETLIB Options selected:")
82
+
message(STATUS"CPP-NETLIB options selected:")
81
83
message(STATUS" CPP-NETLIB_BUILD_SHARED_LIBS: ${CPP-NETLIB_BUILD_SHARED_LIBS}\t(Build cpp-netlib as shared libraries: OFF, ON)")
82
84
message(STATUS" CPP-NETLIB_BUILD_TESTS: ${CPP-NETLIB_BUILD_TESTS}\t(Build the unit tests: ON, OFF)")
83
85
message(STATUS" CPP-NETLIB_BUILD_EXAMPLES: ${CPP-NETLIB_BUILD_EXAMPLES}\t(Build the examples using cpp-netlib: ON, OFF)")
84
86
message(STATUS" CPP-NETLIB_ALWAYS_LOGGING: ${CPP-NETLIB_ALWAYS_LOGGING}\t(Allow cpp-netlib to log debug messages even in non-debug mode: ON, OFF)")
85
87
message(STATUS" CPP-NETLIB_DISABLE_LOGGING: ${CPP-NETLIB_DISABLE_LOGGING}\t(Disable logging definitely, no logging code will be generated or compiled: ON, OFF)")
0 commit comments