summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@gmail.com>2022-04-06 20:25:49 +0200
committerNicky <nicky.dasmijn@gmail.com>2022-04-06 20:25:49 +0200
commit5f7c74fa2e796c04915b6da5e7db013a94c00e2d (patch)
tree1385bce7278714ee875623d591880dfa921d0942 /indra/llrender
parentbed0b80374c3acfc584587a9b0bc02f8bf899876 (diff)
Create and use sdl::sdl target
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/CMakeLists.txt7
1 files changed, 1 insertions, 6 deletions
diff --git a/indra/llrender/CMakeLists.txt b/indra/llrender/CMakeLists.txt
index 7d42043613..cb98886f9b 100644
--- a/indra/llrender/CMakeLists.txt
+++ b/indra/llrender/CMakeLists.txt
@@ -91,12 +91,6 @@ endif (BUILD_HEADLESS)
add_library (llrender ${llrender_SOURCE_FILES})
set_target_include_dirs(llrender ${CMAKE_CURRENT_SOURCE_DIR})
-if (SDL_FOUND)
- set_property(TARGET llrender
- PROPERTY COMPILE_DEFINITIONS LL_SDL=1
- )
-endif (SDL_FOUND)
-
# Libraries on which this library depends, needed for Linux builds
# Sort by high-level to low-level
target_link_libraries(llrender
@@ -106,6 +100,7 @@ target_link_libraries(llrender
llfilesystem
llxml
llwindow
+ sdl::sdl
freetype::freetype
OpenGL::GL
OpenGL::GLU