标签:his configure exe work with nim port open run
cmake_minimum_required(VERSION 2.8) project(curlTest) find_package(CURL REQUIRED) include_directories(${CURL_INCLUDE_DIR}) set(sources appMain.cpp) add_executable(curlTest ${sources}) target_link_libraries(curlTest ${CURL_LIBRIRIES})
find_path(CURL_INCLUDE_DIR NAMES curl/curl.h)
find_path(CURL_INCLUDE_DIR NAMES curl/curl.h PATHS $ENV{LIBCURL_ROOT}/include)
find_library(CURL_LIBRARY NAMES curl # Windows MSVC prebuilts: curllib libcurl_imp curllib_static # Windows older "Win32 - MSVC" prebuilts (libcurl.lib, e.g. libcurl-7.15.5-win32-msvc.zip): libcurl)
How to Make cURL works with cmake
标签:his configure exe work with nim port open run
原文地址:http://www.cnblogs.com/jzdwajue/p/6721164.html