PageRenderTime 44ms CodeModel.GetById 22ms 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
Possible License(s): LGPL-2.1
  1. # -*- cmake -*-
  2. include(Prebuilt)
  3. include(Linking)
  4. set(JPEG_FIND_QUIETLY ON)
  5. set(JPEG_FIND_REQUIRED ON)
  6. if (STANDALONE)
  7. include(FindJPEG)
  8. else (STANDALONE)
  9. use_prebuilt_binary(jpeglib)
  10. if (LINUX)
  11. set(JPEG_LIBRARIES jpeg)
  12. elseif (DARWIN)
  13. set(JPEG_LIBRARIES jpeg)
  14. elseif (WINDOWS)
  15. set(JPEG_LIBRARIES jpeglib)
  16. endif (LINUX)
  17. set(JPEG_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
  18. endif (STANDALONE)