]> O.S.I.I.S - jp/vkvg.git/commitdiff
remove -ansi compile option on android and unix
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Sat, 25 Mar 2023 10:48:33 +0000 (11:48 +0100)
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Sat, 25 Mar 2023 10:48:33 +0000 (11:48 +0100)
CMakeLists.txt

index 175c8d837e76f4b332e1c2bec052df1afb1df6e3..7ca5d05b9676ac4a36de9a3fe4e60207448e74b9 100644 (file)
@@ -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)