From: Fletcher T. Penney Date: Sun, 19 Mar 2017 14:14:54 +0000 (-0400) Subject: FIXED: Fix cmake to find on *nix systems libcurl X-Git-Tag: 6.0.0-rc2^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49e33be1a5846efe23dba3aab2e5957564a07516;p=multimarkdown FIXED: Fix cmake to find on *nix systems libcurl --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 989d1d9..e50d737 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -387,9 +387,12 @@ endif (WIN32) # ============== # Is libcurl available? -find_package(curl) -if (CURL_FOUND) +find_package(CURL) +if (CURL_FOUND) add_definitions(-DUSE_CURL) + message (STATUS "libcurl found") +else () + message (STATUS "libcurl not found") endif (CURL_FOUND) # Create a library?