From 49e33be1a5846efe23dba3aab2e5957564a07516 Mon Sep 17 00:00:00 2001 From: "Fletcher T. Penney" Date: Sun, 19 Mar 2017 10:14:54 -0400 Subject: [PATCH] FIXED: Fix cmake to find on *nix systems libcurl --- CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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? -- 2.40.0