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

if (NOT STANDALONE AND EXISTS ${LIBS_CLOSED_DIR}/llkdu)
  use_prebuilt_binary(kdu)
  if (WINDOWS)
    set(KDU_LIBRARY debug kdu_cored optimized kdu_core)
  elseif (LINUX)
    set(KDU_LIBRARY kdu_v42R)
  else (WINDOWS)
    set(KDU_LIBRARY kdu)
  endif (WINDOWS)

  set(KDU_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include)

  set(LLKDU_LIBRARY llkdu)
  set(LLKDU_STATIC_LIBRARY llkdu_static)
  set(LLKDU_LIBRARIES ${LLKDU_LIBRARY})
  set(LLKDU_STATIC_LIBRARIES ${LLKDU_STATIC_LIBRARY})
endif (NOT STANDALONE AND EXISTS ${LIBS_CLOSED_DIR}/llkdu)