Update curl linking

This commit is contained in:
Georg Hagen
2024-10-13 13:54:52 +02:00
parent 1a1aabe23c
commit f135dcd7b4
2 changed files with 1 additions and 1 deletions

View File

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

View File

@@ -13,7 +13,6 @@
#include <sstream>
#if __has_include("curl/curl.h")
#include <curl/curl.h>
#define HAS_CURL
#endif
namespace OpenVulkano