Adjust cmake file
This commit is contained in:
parent
adaba91738
commit
d502c04698
1 changed files with 3 additions and 1 deletions
|
|
@ -214,7 +214,9 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STRE
|
|||
target_compile_options(SRB2SDL2 PRIVATE -mno-ms-bitfields)
|
||||
endif()
|
||||
|
||||
if (${CMAKE_BUILD_TYPE} MATCHES Release OR (${CMAKE_BUILD_TYPE} MATCHES RelWithDebInfo))
|
||||
if (${CMAKE_BUILD_TYPE} MATCHES Debug)
|
||||
|
||||
else()
|
||||
target_compile_options(SRB2SDL2 PRIVATE -O3)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue