CURL.cmake
上传用户:king477883
上传日期:2021-03-01
资源大小:9553k
文件大小:0k
源码类别:

游戏引擎

开发平台:

C++ Builder

  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
  12.     optimized libcurl)
  13.   else (WINDOWS)
  14.     set(CURL_LIBRARIES curl)
  15.   endif (WINDOWS)
  16.   set(CURL_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
  17. endif (STANDALONE)