PageRenderTime 23ms CodeModel.GetById 17ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/cmake/JPEG.cmake

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 20 lines | 17 code | 2 blank | 1 comment | 3 complexity | 4142bb47c111da4e455ecd2f6f4d8da2 MD5 | raw file
 1# -*- cmake -*-
 2include(Prebuilt)
 3
 4include(Linking)
 5set(JPEG_FIND_QUIETLY ON)
 6set(JPEG_FIND_REQUIRED ON)
 7
 8if (STANDALONE)
 9  include(FindJPEG)
10else (STANDALONE)
11  use_prebuilt_binary(jpeglib)
12  if (LINUX)
13    set(JPEG_LIBRARIES jpeg)
14  elseif (DARWIN)
15    set(JPEG_LIBRARIES jpeg)
16  elseif (WINDOWS)
17    set(JPEG_LIBRARIES jpeglib)
18  endif (LINUX)
19  set(JPEG_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
20endif (STANDALONE)