summaryrefslogtreecommitdiff
path: root/indra/cmake/LLWindow.cmake
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-05-13 10:57:30 +0800
committerErik Kundiman <erik@megapahit.org>2025-05-13 10:57:30 +0800
commitbdc8a1845666565c5e30228d7d57532df339bc94 (patch)
treefef56f2184d848dcf896a9b08a86779403be0ff3 /indra/cmake/LLWindow.cmake
parentdc0d8d283c07c374664bb94b52d288b9bcfb887c (diff)
Lose the not really required double quotes
on the CMake string match tests.
Diffstat (limited to 'indra/cmake/LLWindow.cmake')
-rw-r--r--indra/cmake/LLWindow.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/cmake/LLWindow.cmake b/indra/cmake/LLWindow.cmake
index 00bf0b8ef7..34df3ad33b 100644
--- a/indra/cmake/LLWindow.cmake
+++ b/indra/cmake/LLWindow.cmake
@@ -13,14 +13,13 @@ if (NOT (WINDOWS OR DARWIN))
target_compile_definitions( ll::SDL INTERFACE LL_SDL=1)
target_include_directories(ll::SDL SYSTEM INTERFACE ${Sdl2_INCLUDE_DIRS})
target_link_directories(ll::SDL INTERFACE ${Sdl2_LIBRARY_DIRS})
- if (LINUX OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+ if (LINUX OR CMAKE_SYSTEM_NAME MATCHES FreeBSD)
list(APPEND Sdl2_LIBRARIES X11)
endif ()
target_link_libraries(ll::SDL INTERFACE ${Sdl2_LIBRARIES})
return ()
endif ()
-
if (LINUX)
#Must come first as use_system_binary can exit this file early
target_compile_definitions( ll::SDL INTERFACE LL_SDL_VERSION=2 LL_SDL)