Skip to content

Commit 5ac69cb

Browse files
committed
Merge pull request #211 from w0land/master-integration
Master integration
2 parents 7f63e41 + 7dd218d commit 5ac69cb

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,16 @@ if (${CMAKE_CXX_COMPILER_ID} MATCHES GNU)
4343
INCLUDE(CheckCXXCompilerFlag)
4444
CHECK_CXX_COMPILER_FLAG(-std=c++11 HAVE_STD11)
4545
if (HAVE_STD11)
46-
set(CMAKE_CXX_FLAGS -std=c++11 -Wall)
46+
list(APPEND CMAKE_CXX_FLAGS "-std=c++11 -Wall")
4747
else()
4848
message(FATAL_ERROR "No advanced standard C++ support (-std=c++11 not defined).")
4949
endif()
5050
elseif(${CMAKE_CXX_COMPILER_ID} MATCHES Clang)
5151
INCLUDE(CheckCXXCompilerFlag)
5252
CHECK_CXX_COMPILER_FLAG(-std=c++11 HAVE_STD11)
5353
if (HAVE_STD11)
54-
set(CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++ -Wall")
55-
set(CMAKE_CXX_LINK_FLAGS "-std=c++11 -stdlib=libc++")
54+
list(APPEND CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++ -Wall")
55+
list(APPEND CMAKE_CXX_LINK_FLAGS "-std=c++11 -stdlib=libc++")
5656
else()
5757
message(FATAL_ERROR "No C++11 support for Clang version. Please upgrade Clang to a version supporting C++11.")
5858
endif()

http/test/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ if (CPP-NETLIB_BUILD_TESTS)
8383
cppnetlib-http-message
8484
cppnetlib-http-message-wrappers
8585
cppnetlib-http-client
86-
cppnetlib-http-client-connections)
86+
cppnetlib-http-client-connections
87+
cppnetlib-logging)
8788
if (OPENSSL_FOUND)
8889
target_link_libraries(cpp-netlib-http-client_test ${OPENSSL_LIBRARIES})
8990
endif()

0 commit comments

Comments
 (0)