diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2023-03-25 11:48:33 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2023-03-25 11:48:33 +0100 |
| commit | 0a181e01c758691d981c6d5ed2b17c1d7e95c284 (patch) | |
| tree | f7f9bce1861216079f557bc32669ef7d2baee481 | |
| parent | 0226b872a03cff6ebfd0150b126f277dedf9cc35 (diff) | |
remove -ansi compile option on android and unix
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 175c8d8..7ca5d05 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,9 +51,9 @@ ELSE() UNSET(VKVG_WIRED_FILL CACHE) UNSET(VKVG_USE_MESA_OVERLAY CACHE) IF (ANDROID) - ADD_COMPILE_OPTIONS(-O3 -w -ansi -pedantic) + ADD_COMPILE_OPTIONS(-O3 -w -pedantic) ELSEIF (UNIX) - ADD_COMPILE_OPTIONS(-O3 -w -ansi -pedantic -fvisibility=hidden -fno-rtti) + ADD_COMPILE_OPTIONS(-O3 -w -pedantic -fvisibility=hidden -fno-rtti) #ADD_COMPILE_OPTIONS(-flto -pthread -lpthread -Wl,--no-as-needed) ELSEIF(MSVC) ADD_COMPILE_OPTIONS(/O2 /TC /W0 /Od) |