summaryrefslogtreecommitdiff
path: root/indra/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
parentdc0d8d283c07c374664bb94b52d288b9bcfb887c (diff)
Lose the not really required double quotes
on the CMake string match tests.
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/LLWindow.cmake3
-rw-r--r--indra/cmake/UI.cmake2
2 files changed, 2 insertions, 3 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)
diff --git a/indra/cmake/UI.cmake b/indra/cmake/UI.cmake
index ada5b6da3b..85e74f03e4 100644
--- a/indra/cmake/UI.cmake
+++ b/indra/cmake/UI.cmake
@@ -5,7 +5,7 @@ include(GLIB)
add_library( ll::uilibraries INTERFACE IMPORTED )
-if (LINUX OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+if (LINUX OR CMAKE_SYSTEM_NAME MATCHES FreeBSD)
target_compile_definitions(ll::uilibraries INTERFACE LL_FLTK=1 LL_X11=1 )
if( USE_CONAN )