summaryrefslogtreecommitdiff
path: root/indra/cmake/CURL.cmake
blob: bce4a85d167a10110bb8fd8e0a3ff94c724ef69b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# -*- cmake -*-

set(CURL_FIND_QUIETLY ON)
set(CURL_FIND_REQUIRED ON)

if (STANDALONE)
  include(FindCURL)
else (STANDALONE)
  if (WINDOWS)
    set(CURL_LIBRARIES 
    debug libcurld
    optimized libcurl)
  else (WINDOWS)
    set(CURL_LIBRARIES curl)
  endif (WINDOWS)
  set(CURL_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
endif (STANDALONE)