diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-22 16:49:32 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-22 17:06:36 +0200 |
commit | 1684d2f6ead8ee0c4053a47bcfc3c76365b2df86 (patch) | |
tree | 5eba89e24b7c844b6febf9ef5c75cffceda6690c /external | |
parent | ef289244bbb59edfeab68fcb042a32c83ada3422 (diff) |
fix cmake scripts install location for json & sdl2
Diffstat (limited to 'external')
-rw-r--r-- | external/CMakeLists.txt | 14 |
1 files changed, 9 insertions, 5 deletions
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 |