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)
This commit is contained in:
dhewg 2012-07-09 22:57:13 +02:00
parent 96e8b7b904
commit 600a07e134

View file

@ -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