We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b17427f commit 4430b91Copy full SHA for 4430b91
CMakeLists.txt
@@ -17,6 +17,7 @@ set(RDKAFKA_MIN_VERSION "0.9.4")
17
set(RDKAFKA_MIN_VERSION_HEX 0x00090400)
18
19
if (NOT CMAKE_CXX_FLAGS)
20
+ set(CMAKE_CXX_STANDARD 17)
21
# Set default compile flags for the project
22
if(MSVC)
23
# Don't always use Wall, since VC's /Wall is ridiculously verbose.
@@ -28,7 +29,7 @@ if (NOT CMAKE_CXX_FLAGS)
28
29
add_definitions("-DNOGDI=1")
30
add_definitions("-DNOMINMAX=1")
31
else()
- set(CMAKE_CXX_FLAGS "-std=c++11 -Wall")
32
+ set(CMAKE_CXX_FLAGS "-Wall")
33
endif()
34
35
0 commit comments