summaryrefslogtreecommitdiff
path: root/indra/cmake/GLOD.cmake
blob: 8d41db4ea3c32e1a19401aee673badeefdc4ebc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- cmake -*-
include(Prebuilt)

if( TARGET glod::glod )
  return()
endif()
create_target( glod::glod )

if (NOT USESYSTEMLIBS)
  use_prebuilt_binary(glod)
endif (NOT USESYSTEMLIBS)



set(GLODLIB ON CACHE BOOL "Using GLOD library")

set_target_include_dirs( glod::glod ${LIBS_PREBUILT_DIR}/include)
set_target_libraries( glod::glod GLOD )