PageRenderTime 24ms CodeModel.GetById 13ms RepoModel.GetById 0ms 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
Possible License(s): LGPL-2.1
  1. # -*- cmake -*-
  2. include(Prebuilt)
  3. set(CURL_FIND_QUIETLY ON)
  4. set(CURL_FIND_REQUIRED ON)
  5. if (STANDALONE)
  6. include(FindCURL)
  7. else (STANDALONE)
  8. use_prebuilt_binary(curl)
  9. if (WINDOWS)
  10. set(CURL_LIBRARIES
  11. debug libcurld.lib
  12. optimized libcurl.lib)
  13. else (WINDOWS)
  14. set(CURL_LIBRARIES libcurl.a)
  15. endif (WINDOWS)
  16. set(CURL_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
  17. endif (STANDALONE)