Pth.cmake
上传用户:king477883
上传日期:2021-03-01
资源大小:9553k
文件大小:1k
- # -*- cmake -*-
- include(Prebuilt)
- set(PTH_FIND_QUIETLY ON)
- set(PTH_FIND_REQUIRED ON)
- if (STANDALONE)
- # ?? How would I construct FindPTH.cmake? This file was cloned from
- # CURL.cmake, which uses include(FindCURL), but there's no FindCURL.cmake?
- # include(FindPTH)
- else (STANDALONE)
- # This library is only needed to support Boost.Coroutine, and only on Mac.
- if (DARWIN)
- use_prebuilt_binary(pth)
- set(PTH_LIBRARIES pth)
- set(PTH_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
- else (DARWIN)
- set(PTH_LIBRARIES)
- set(PTH_INCLUDE_DIRS)
- endif (DARWIN)
- endif (STANDALONE)