Fix Wii U compilation
This commit is contained in:
parent
07f70200d0
commit
f1a85d4d2c
1 changed files with 8 additions and 6 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue