Fix Wii U compilation

This commit is contained in:
Clownacy 2020-09-08 12:55:19 +01:00
parent 07f70200d0
commit f1a85d4d2c

View file

@ -451,12 +451,14 @@ set_target_properties(CSE2 PROPERTIES
C_EXTENSIONS OFF
)
# Force strict C++98
set_target_properties(CSE2 PROPERTIES
if(NOT BACKEND_PLATFORM MATCHES "WiiU")
# Force strict C++98
set_target_properties(CSE2 PROPERTIES
CXX_STANDARD 98
CXX_STANDARD_REQUIRED ON
CXX_EXTENSIONS OFF
)
)
endif()
# Name debug builds "CSE2_debug", to distinguish them
set_target_properties(CSE2 PROPERTIES DEBUG_OUTPUT_NAME "CSE2_debug")