Skip to content
Snippets Groups Projects
Verified Commit 4cc6164c authored by Tobias Frisch's avatar Tobias Frisch
Browse files

Fixed cmake warning flags

parent 06d94b0c
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,13 @@ set(vkcv_source ${PROJECT_SOURCE_DIR}/src)
set(vkcv_flags ${CMAKE_CXX_FLAGS})
if (vkcv_build_debug)
set(vkcv_flags ${vkcv_flags} " -Wextra -Wall -pedantic")
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set(vkcv_flags ${vkcv_flags} " -Weverything")
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set(vkcv_flags ${vkcv_flags} " -Wextra -Wall -pedantic")
else()
set(vkcv_flags ${vkcv_flags} " -Wall")
endif()
endif()
include(${vkcv_config}/Sources.cmake)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment