Turns out compiling with the internal version of curl was broken on CMake the entire time 🙃

This commit is contained in:
Steel Titanium 2020-08-24 01:00:28 -04:00
parent d4006d00c3
commit 84bab3fc9f
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ endif()
if(${SRB2_CONFIG_HAVE_CURL})
if(${SRB2_CONFIG_USE_INTERNAL_LIBRARIES})
set(CURL_FOUND ON)
set(CURL_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/libs/curl)
set(CURL_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/libs/curl/include)
if(${SRB2_SYSTEM_BITS} EQUAL 64)
set(CURL_LIBRARIES "-L${CMAKE_SOURCE_DIR}/libs/curl/lib64 -lcurl")
else() # 32-bit