Skip to content

Commit

Permalink
Turn off unknown pragmas
Browse files Browse the repository at this point in the history
  • Loading branch information
Idhrendur committed Jan 12, 2025
1 parent 48c9402 commit 39179b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ if (PLATFORM STREQUAL "Windows")
elseif (PLATFORM STREQUAL "Linux")
#set(CMAKE_CXX_CLANG_TIDY clang-tidy -checks=-*,readability-*)
if (COVERAGE STREQUAL true)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0 -fprofile-arcs -ftest-coverage -Wno-deprecated-declarations")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0 -fprofile-arcs -ftest-coverage -Wno-deprecated-declarations -Wno-unknown-pragmas")
set(CMAKE_CXX_OUTPUT_EXTENSION_REPLACE ON)
else (COVERAGE STREQUAL true)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0 -Wall -Wno-deprecated-declarations")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0 -Wall -Wno-deprecated-declarations -Wno-unknown-pragmas")
endif (COVERAGE STREQUAL true)
endif (PLATFORM STREQUAL "Windows")

Expand Down

0 comments on commit 39179b6

Please sign in to comment.