mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2025-03-31 14:41:04 +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
a3456b9004
commit
28ff955897
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