From 1684d2f6ead8ee0c4053a47bcfc3c76365b2df86 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 22 Oct 2022 16:49:32 +0200 Subject: fix cmake scripts install location for json & sdl2 --- external/CMakeLists.txt | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'external/CMakeLists.txt') diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index e7882d18..be225248 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -30,6 +30,10 @@ else() endif() if(FLOORMAT_SUBMODULE-DEPENDENCIES) + sets(STRING + SDL_INSTALL_CMAKEDIR "share/cmake/SDL2" + NLOHMANN_JSON_CONFIG_INSTALL_DIR "share/cmake/nlohmann_json" + ) sets(BOOL CORRADE_BUILD_STATIC OFF CORRADE_BUILD_TESTS OFF @@ -76,9 +80,12 @@ if(FLOORMAT_SUBMODULE-DEPENDENCIES) MAGNUM_WITH_GLM OFF MAGNUM_WITH_IMGUI ON ) - - sets(BOOL + sets(STRING SDL_ASSERTIONS release + ) + sets(BOOL + SDL2_DISABLE_INSTALL OFF + SDL2_DISABLE_SDL2MAIN ON SDL_3DNOW OFF SDL_ALTIVEC OFF @@ -120,9 +127,6 @@ if(FLOORMAT_SUBMODULE-DEPENDENCIES) SDL_VULKAN OFF SDL_WASAPI OFF SDL_XINPUT OFF - - SDL2_DISABLE_INSTALL OFF - SDL2_DISABLE_SDL2MAIN ON ) sets(BOOL -- cgit v1.2.3