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 710260d commit bb5d024Copy full SHA for bb5d024
CMakeLists.txt
@@ -97,7 +97,7 @@ endif( MSVC )
97
98
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
99
# using regular Clang or AppleClang
100
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wshorten-64-to-32")
101
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
102
# using GCC
103
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic -Wno-long-long")
0 commit comments