summaryrefslogtreecommitdiff
path: root/indra/cmake/GLOD.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/GLOD.cmake')
-rw-r--r--indra/cmake/GLOD.cmake11
1 files changed, 6 insertions, 5 deletions
diff --git a/indra/cmake/GLOD.cmake b/indra/cmake/GLOD.cmake
index 6f42b44ab8..2d7f85030f 100644
--- a/indra/cmake/GLOD.cmake
+++ b/indra/cmake/GLOD.cmake
@@ -1,11 +1,12 @@
# -*- cmake -*-
include(Prebuilt)
-if (NOT USESYSTEMLIBS)
- use_prebuilt_binary(glod)
-endif (NOT USESYSTEMLIBS)
+include_guard()
+create_target( ll::glod )
+
+use_prebuilt_binary(glod)
set(GLODLIB ON CACHE BOOL "Using GLOD library")
-set(GLOD_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include)
-set(GLOD_LIBRARIES GLOD)
+set_target_include_dirs( ll::glod ${LIBS_PREBUILT_DIR}/include)
+set_target_libraries( ll::glod GLOD )