summaryrefslogtreecommitdiffhomepage
path: root/external
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-02 19:03:32 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-02 20:25:31 +0100
commit5a95eb1282e30bd803d7e0b352a8443795842e42 (patch)
treec97bc43e4d5107a427817c65aa1b0c2eeb64a427 /external
parent0fe5336b9a53f20817f54be0bd7cd935db14914c (diff)
fix build with Linux and/or GCC
Diffstat (limited to 'external')
-rw-r--r--external/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt
index d04565c3..f08fe35d 100644
--- a/external/CMakeLists.txt
+++ b/external/CMakeLists.txt
@@ -26,8 +26,8 @@ else()
add_compile_options(
-Wno-error
-Wno-undef
- -Wno-old-style-cast
)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-old-style-cast")
endif()
if(FLOORMAT_SUBMODULE-DEPENDENCIES)
@@ -138,6 +138,9 @@ if(FLOORMAT_SUBMODULE-DEPENDENCIES)
SDL_WASAPI OFF
SDL_XINPUT OFF
)
+ if(NOT WIN32)
+ set(MAGNUM_WITH_WINDOWLESSWGLAPPLICATION OFF)
+ endif()
endif()
fm_run_hook(fm-userconfig-external-pre)