JPEG.cmake
上传用户:king477883
上传日期:2021-03-01
资源大小:9553k
文件大小:1k
源码类别:

游戏引擎

开发平台:

C++ Builder

  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
  14.       optimized ${ARCH_PREBUILT_DIRS_RELEASE}/liblljpeg.a
  15.       debug ${ARCH_PREBUILT_DIRS_DEBUG}/liblljpeg.a
  16.       )
  17.   elseif (WINDOWS)
  18.     set(JPEG_LIBRARIES jpeglib)
  19.   endif (LINUX)
  20.   set(JPEG_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
  21. endif (STANDALONE)