Files
SingularityViewer/indra/cmake/CURL.cmake
Shyotl dfc99b4165 Resolved header conflict between linux/darwin/win32 by moving ares and curl headers relevant target subdirectories.
Stemmed around the downloaded archives having differing headers and overwriting eachother.
2011-02-15 04:11:47 -06:00

20 lines
404 B
CMake

# -*- 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}/${LL_ARCH_DIR}/include)
endif (STANDALONE)