mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Fix Werror always being enabled
This commit is contained in:
parent
901de4166e
commit
833b2fbf1d
1 changed files with 2 additions and 2 deletions
|
@ -124,9 +124,9 @@ IF(ENABLE_WARNINGS)
|
||||||
# Saves quite a few lines and boilerplate at the price of readability.
|
# Saves quite a few lines and boilerplate at the price of readability.
|
||||||
TARGET_COMPILE_OPTIONS(VVVVVV PRIVATE
|
TARGET_COMPILE_OPTIONS(VVVVVV PRIVATE
|
||||||
$<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:
|
$<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:
|
||||||
-Wall $<$<BOOL:ENABLE_WERROR>:-Werror>>
|
-Wall $<$<BOOL:${ENABLE_WERROR}>:-Werror>>
|
||||||
$<$<CXX_COMPILER_ID:MSVC>:
|
$<$<CXX_COMPILER_ID:MSVC>:
|
||||||
/W4 $<$<BOOL:ENABLE_WERROR>:/WX>>)
|
/W4 $<$<BOOL:${ENABLE_WERROR}>:/WX>>)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
# Library information
|
# Library information
|
||||||
|
|
Loading…
Reference in a new issue