Skip to content

Commit efaeeb7

Browse files
committed
One last small change for CMakeLists and CMAKE_CXX_FLAGS. (#260)
1 parent 1150d2a commit efaeeb7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ option( CPP-NETLIB_ALWAYS_LOGGING "Allow cpp-netlib to log debug messages even i
1515
option( CPP-NETLIB_DISABLE_LOGGING "Disable logging definitely, no logging code will be generated or compiled." OFF )
1616
option( CPP-NETLIB_DISABLE_LIBCXX "Disable using libc++ when compiling with clang." OFF )
1717

18-
1918
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR})
2019
find_package( ICU )
2120

@@ -39,8 +38,6 @@ if(CMAKE_BUILD_TYPE MATCHES Debug)
3938
add_definitions(-DNETWORK_DEBUG)
4039
endif()
4140

42-
43-
4441
if (OPENSSL_FOUND)
4542
add_definitions(-DNETWORK_ENABLE_HTTPS)
4643
endif()
@@ -49,7 +46,7 @@ if (${CMAKE_CXX_COMPILER_ID} MATCHES GNU)
4946
INCLUDE(CheckCXXCompilerFlag)
5047
CHECK_CXX_COMPILER_FLAG(-std=c++11 HAVE_STD11)
5148
if (HAVE_STD11)
52-
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-std=c++11 -Wall")
49+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
5350
else()
5451
message(FATAL_ERROR "No advanced standard C++ support (-std=c++11 not defined).")
5552
endif()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy