PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/cmake/CURL.cmake

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 19 lines | 16 code | 2 blank | 1 comment | 4 complexity | 42e0bc8acefac60c5dcb29cdd534d961 MD5 | raw file
 1# -*- cmake -*-
 2include(Prebuilt)
 3
 4set(CURL_FIND_QUIETLY ON)
 5set(CURL_FIND_REQUIRED ON)
 6
 7if (STANDALONE)
 8  include(FindCURL)
 9else (STANDALONE)
10  use_prebuilt_binary(curl)
11  if (WINDOWS)
12    set(CURL_LIBRARIES 
13    debug libcurld.lib
14    optimized libcurl.lib)
15  else (WINDOWS)
16    set(CURL_LIBRARIES libcurl.a)
17  endif (WINDOWS)
18  set(CURL_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
19endif (STANDALONE)