1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-03 03:23:33 +02:00

remove narrowing for some reason

This commit is contained in:
man that exists 2020-01-16 17:52:03 -06:00 committed by GitHub
parent 6a8746a0b6
commit 0c7969fed9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,9 +136,9 @@ IF(ENABLE_WARNINGS)
# Saves quite a few lines and boilerplate at the price of readability.
TARGET_COMPILE_OPTIONS(VVVVVV PRIVATE
$<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:
-Wall $<$<BOOL:${ENABLE_WERROR}>:-Werror>>
-Wall -Wno-narrowing $<$<BOOL:${ENABLE_WERROR}>:-Werror>>
$<$<CXX_COMPILER_ID:MSVC>:
/std:c++17 /W4 $<$<BOOL:${ENABLE_WERROR}>:/WX>>)
/W4 $<$<BOOL:${ENABLE_WERROR}>:/WX>>)
ENDIF()
# Library information