Update curl linking
This commit is contained in:
1
3rdParty/curl/CMakeLists.txt
vendored
1
3rdParty/curl/CMakeLists.txt
vendored
@@ -45,4 +45,5 @@ function(LinkCurl TARGET)
|
||||
target_include_directories(${TARGET} PUBLIC ${CURL_INCLUDE_DIR})
|
||||
target_link_libraries(${TARGET} PUBLIC CURL::libcurl)
|
||||
endif ()
|
||||
target_compile_definitions(${TARGET} PRIVATE HAS_CURL)
|
||||
endfunction()
|
||||
@@ -13,7 +13,6 @@
|
||||
#include <sstream>
|
||||
#if __has_include("curl/curl.h")
|
||||
#include <curl/curl.h>
|
||||
#define HAS_CURL
|
||||
#endif
|
||||
|
||||
namespace OpenVulkano
|
||||
|
||||
Reference in New Issue
Block a user