PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 1ms

/indra/cmake/ZLIB.cmake

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 22 lines | 18 code | 3 blank | 1 comment | 5 complexity | deff13536fcde82b9487c005a730722f MD5 | raw file
 1# -*- cmake -*-
 2
 3set(ZLIB_FIND_QUIETLY ON)
 4set(ZLIB_FIND_REQUIRED ON)
 5
 6include(Prebuilt)
 7
 8if (STANDALONE)
 9  include(FindZLIB)
10else (STANDALONE)
11  use_prebuilt_binary(zlib)
12  if (WINDOWS)
13    set(ZLIB_LIBRARIES 
14      debug zlibd
15      optimized zlib)
16  else (WINDOWS)
17    set(ZLIB_LIBRARIES z)
18  endif (WINDOWS)
19  if (WINDOWS OR LINUX)
20    set(ZLIB_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/zlib)
21  endif (WINDOWS OR LINUX)
22endif (STANDALONE)