mirror of
https://github.com/td512/re3.git
synced 2026-03-10 05:54:17 +00:00
fix gcc/clang build by adding -fpermssive and -Wno-address-of-temporary
This commit is contained in:
@@ -102,6 +102,8 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang
|
||||
if (NOT LIBRW_PLATFORM_PS2)
|
||||
target_compile_options(${EXECUTABLE}
|
||||
PRIVATE
|
||||
-fpermissive # for CVECTORHACK
|
||||
-Wno-address-of-temporary # for CVECTORHACK
|
||||
-Wextra
|
||||
-Wdouble-promotion
|
||||
-Wpedantic
|
||||
|
||||
Reference in New Issue
Block a user