mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-20 09:41:13 +00:00
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:
parent
96e8b7b904
commit
600a07e134
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue