summaryrefslogtreecommitdiff
path: root/indra/cmake/LLWindow.cmake
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-09-30 11:48:20 +0800
committerErik Kundiman <erik@megapahit.org>2024-09-30 11:48:20 +0800
commitf7873910039b45b4426172cea1f0db3f79f349c5 (patch)
tree85ef3c36ed31ba135a012014bf26fc004ccca31d /indra/cmake/LLWindow.cmake
parente6165435ab48673612bf8896d68bcd2543176692 (diff)
Windows configuration, with MSYS2 in MinGW for now
Also simplify CMake-based dependency projects, the parameters that have been set for the viewer seem to have been implied all this time for the subprojects.
Diffstat (limited to 'indra/cmake/LLWindow.cmake')
-rw-r--r--indra/cmake/LLWindow.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/LLWindow.cmake b/indra/cmake/LLWindow.cmake
index 383051a4a6..31907d31df 100644
--- a/indra/cmake/LLWindow.cmake
+++ b/indra/cmake/LLWindow.cmake
@@ -7,7 +7,7 @@ include(Prebuilt)
include_guard()
add_library( ll::SDL INTERFACE IMPORTED )
-if (USESYSTEMLIBS AND NOT DARWIN)
+if (USESYSTEMLIBS AND NOT (WINDOWS OR DARWIN))
include(FindPkgConfig)
pkg_check_modules(Sdl2 REQUIRED sdl2)
target_compile_definitions( ll::SDL INTERFACE LL_SDL=1)