blob: a28f6ec696efdbbcaeb8c1ee34dfb7dd7d436421 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 | # -*- 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)
 |