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 a41629f commit d412dc0Copy full SHA for d412dc0
CMakeLists.txt
@@ -34,7 +34,8 @@ else (MSVC)
34
set(CPPLINT_ARG_OUTPUT "--output=eclipse")
35
set(CPPCHECK_ARG_TEMPLATE "--template=gcc")
36
# Useful compile flags and extra warnings
37
- add_compile_options(-fstack-protector -Wall -Wextra -Wpedantic -Wno-long-long -Wswitch-enum -Wshadow -Winline -Wno-c++0x-compat)
+ add_compile_options(-fstack-protector -Wall -Wextra -Wpedantic -Wno-long-long -Wswitch-enum -Wshadow -Winline)
38
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-c++0x-compat") # C++ only
39
if (CMAKE_COMPILER_IS_GNUCXX)
40
# GCC flags
41
if (SQLITECPP_USE_GCOV AND CMAKE_COMPILER_IS_GNUCXX)
0 commit comments