aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/CURL.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/cmake/CURL.cmake')
-rw-r--r--linden/indra/cmake/CURL.cmake19
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 -*-
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
14 optimized libcurl)
15 else (WINDOWS)
16 set(CURL_LIBRARIES curl)
17 endif (WINDOWS)
18 set(CURL_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
19endif (STANDALONE)