PageRenderTime 49ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/cmake/OpenJPEG.cmake

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 22 lines | 16 code | 4 blank | 2 comment | 3 complexity | 1e2b1cbe20d3d23a21383cffffef2e93 MD5 | raw file
Possible License(s): LGPL-2.1
  1. # -*- cmake -*-
  2. include(Prebuilt)
  3. set(OPENJPEG_FIND_QUIETLY ON)
  4. set(OPENJPEG_FIND_REQUIRED ON)
  5. if (STANDALONE)
  6. include(FindOpenJPEG)
  7. else (STANDALONE)
  8. use_prebuilt_binary(openjpeg)
  9. if(WINDOWS)
  10. # Windows has differently named release and debug openjpeg(d) libs.
  11. set(OPENJPEG_LIBRARIES
  12. debug openjpegd
  13. optimized openjpeg)
  14. else(WINDOWS)
  15. set(OPENJPEG_LIBRARIES openjpeg)
  16. endif(WINDOWS)
  17. set(OPENJPEG_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/openjpeg)
  18. endif (STANDALONE)