From 600a07e1348bab65a356fdde75f182e621afc85f Mon Sep 17 00:00:00 2001 From: dhewg Date: Mon, 9 Jul 2012 22:57:13 +0200 Subject: [PATCH] cmake: Fix error when curl is not found Set the library name to an empty string to prevent this error: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: CURL_LIBRARY (ADVANCED) --- neo/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/neo/CMakeLists.txt b/neo/CMakeLists.txt index c45e9af2..7dfe1593 100644 --- a/neo/CMakeLists.txt +++ b/neo/CMakeLists.txt @@ -116,6 +116,7 @@ if (CURL_FOUND) else() message(STATUS "libcurl not found, server downloads won't be available") set(ID_ENABLE_CURL OFF) + set(CURL_LIBRARY "") endif() # compiler specific flags