diff options
Diffstat (limited to 'linden/indra/cmake/CURL.cmake')
-rw-r--r-- | linden/indra/cmake/CURL.cmake | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/linden/indra/cmake/CURL.cmake b/linden/indra/cmake/CURL.cmake new file mode 100644 index 0000000..6e5fed4 --- /dev/null +++ b/linden/indra/cmake/CURL.cmake | |||
@@ -0,0 +1,19 @@ | |||
1 | # -*- cmake -*- | ||
2 | include(Prebuilt) | ||
3 | |||
4 | set(CURL_FIND_QUIETLY ON) | ||
5 | set(CURL_FIND_REQUIRED ON) | ||
6 | |||
7 | if (STANDALONE) | ||
8 | include(FindCURL) | ||
9 | else (STANDALONE) | ||
10 | use_prebuilt_binary(curl) | ||
11 | if (WINDOWS) | ||
12 | set(CURL_LIBRARIES | ||
13 | debug libcurld | ||
14 | optimized libcurl) | ||
15 | else (WINDOWS) | ||
16 | set(CURL_LIBRARIES curl) | ||
17 | endif (WINDOWS) | ||
18 | set(CURL_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include) | ||
19 | endif (STANDALONE) | ||