24 lines
1.2 KiB
Diff
24 lines
1.2 KiB
Diff
|
--- a/framework/CMakeLists.txt 2021-04-26 12:47:15.000000000 +0300
|
||
|
+++ b/framework/CMakeLists.txt 2021-04-26 14:03:32.193876115 +0300
|
||
|
@@ -397,7 +397,7 @@
|
||
|
if(${VKB_WARNINGS_AS_ERRORS})
|
||
|
message(STATUS "Warnings as Errors Enabled")
|
||
|
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||
|
- target_compile_options(${PROJECT_NAME} PRIVATE -Werror)
|
||
|
+ target_compile_options(${PROJECT_NAME} PRIVATE -Wall)
|
||
|
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
|
||
|
target_compile_options(${PROJECT_NAME} PRIVATE /W3 /WX)
|
||
|
endif()
|
||
|
|
||
|
--- a/third_party/spirv-cross/CMakeLists.txt 2021-04-26 12:50:53.000000000 +0300
|
||
|
+++ b/third_party/spirv-cross/CMakeLists.txt 2021-04-26 14:12:14.552635907 +0300
|
||
|
@@ -35,7 +35,7 @@
|
||
|
# -DCMAKE_CXX_COMPILE_FLAGS
|
||
|
# However, we require the C++11 dialect.
|
||
|
if (NOT "${MSVC}")
|
||
|
- set(spirv-compiler-options ${spirv-compiler-options} -std=c++11 -Wall -Wextra -Werror -Wshadow)
|
||
|
+ set(spirv-compiler-options ${spirv-compiler-options} -std=c++11 -Wall -Wextra -Werror)
|
||
|
set(spirv-compiler-defines ${spirv-compiler-defines} __STDC_LIMIT_MACROS)
|
||
|
|
||
|
if(SPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS)
|