From cf31856e66e077430f6243ef24c13b94aa1d8c62 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 10 Aug 2024 22:09:19 +0200 Subject: cmake: use system sdl2 except for msvc --- userconfig-sthalik@Windows-Clang.cmake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'userconfig-sthalik@Windows-Clang.cmake') diff --git a/userconfig-sthalik@Windows-Clang.cmake b/userconfig-sthalik@Windows-Clang.cmake index dc0ba1dd..524ccf77 100644 --- a/userconfig-sthalik@Windows-Clang.cmake +++ b/userconfig-sthalik@Windows-Clang.cmake @@ -46,8 +46,6 @@ if(NOT CMAKE_CXX_COMPILER_VERSION LESS "18.0") add_compile_options($<$:-fassume-nothrow-exception-dtor>) endif() -set(FLOORMAT_SUBMODULE-SDL2 1) - # for building submodule dependencies function(fm-userconfig-external) add_compile_options( @@ -58,7 +56,7 @@ function(fm-userconfig-external) ) if(NOT CMAKE_BUILD_TYPE STREQUAL "DEBUG") sets(BOOL - FLOORMAT_SUBMODULE-SDL2 ON + #FLOORMAT_SUBMODULE-SDL2 ON SDL_SHARED OFF SDL_STATIC ON CORRADE_BUILD_STATIC ON -- cgit v1.2.3