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

游戏引擎

开发平台:

C++ Builder

  1. # -*- cmake -*-
  2. include(Prebuilt)
  3. set(PTH_FIND_QUIETLY ON)
  4. set(PTH_FIND_REQUIRED ON)
  5. if (STANDALONE)
  6. #  ?? How would I construct FindPTH.cmake? This file was cloned from
  7. #  CURL.cmake, which uses include(FindCURL), but there's no FindCURL.cmake?
  8. #  include(FindPTH)
  9. else (STANDALONE)
  10.   # This library is only needed to support Boost.Coroutine, and only on Mac.
  11.   if (DARWIN)
  12.     use_prebuilt_binary(pth)
  13.     set(PTH_LIBRARIES pth)
  14.     set(PTH_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
  15.   else (DARWIN)
  16.     set(PTH_LIBRARIES)
  17.     set(PTH_INCLUDE_DIRS)
  18.   endif (DARWIN)
  19. endif (STANDALONE)