diff options
Diffstat (limited to 'indra/cmake/CURL.cmake')
-rw-r--r-- | indra/cmake/CURL.cmake | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/indra/cmake/CURL.cmake b/indra/cmake/CURL.cmake new file mode 100644 index 0000000000..6e5fed4d52 --- /dev/null +++ b/indra/cmake/CURL.cmake @@ -0,0 +1,19 @@ +# -*- cmake -*- +include(Prebuilt) + +set(CURL_FIND_QUIETLY ON) +set(CURL_FIND_REQUIRED ON) + +if (STANDALONE) + include(FindCURL) +else (STANDALONE) + use_prebuilt_binary(curl) + 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) |