summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rw-r--r--indra/cmake/GLOD.cmake3
-rw-r--r--indra/newview/CMakeLists.txt4
2 files changed, 1 insertions, 6 deletions
diff --git a/indra/cmake/GLOD.cmake b/indra/cmake/GLOD.cmake
index 2d7f85030f..ab7eb38862 100644
--- a/indra/cmake/GLOD.cmake
+++ b/indra/cmake/GLOD.cmake
@@ -6,7 +6,6 @@ create_target( ll::glod )
use_prebuilt_binary(glod)
-set(GLODLIB ON CACHE BOOL "Using GLOD library")
-
set_target_include_dirs( ll::glod ${LIBS_PREBUILT_DIR}/include)
set_target_libraries( ll::glod GLOD )
+target_compile_definitions( ll::glod INTERFACE LL_GLOD=1) \ No newline at end of file
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index 4a143bb4d8..018314bca6 100644
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -1658,10 +1658,6 @@ if( DEFINED LLSTARTUP_COMPILE_FLAGS )
set_source_files_properties(llstartup.cpp PROPERTIES COMPILE_FLAGS "${LLSTARTUP_COMPILE_FLAGS}")
endif()
-if (GLODLIB)
- set_source_files_properties(llfloatermodelpreview.cpp PROPERTIES COMPILE_FLAGS "-DLL_GLOD")
-endif (GLODLIB)
-
list(APPEND viewer_SOURCE_FILES ${viewer_HEADER_FILES})
set_source_files_properties(${viewer_HEADER_FILES}