mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 21:19:18 +00:00
Fix find_library/path to find shared libcurl (thanks to Tobias Hansen)
This commit is contained in:
parent
ae8d26bedf
commit
c6ad4a94c1
@ -79,8 +79,8 @@ endif()
|
||||
|
||||
if(ENABLE_UPDATER)
|
||||
if(USE_SHARED_CURL)
|
||||
find_library(LIBCURL_LIBRARY curl)
|
||||
find_path(LIBCURL_INCLUDE_DIR curl/curl.h)
|
||||
find_library(LIBCURL_LIBRARY NAMES curl)
|
||||
find_path(LIBCURL_INCLUDE_DIR NAMES curl/curl.h)
|
||||
|
||||
set(libs3rdparty ${libs3rdparty} ${LIBCURL_LIBRARY})
|
||||
include_directories(${LIBCURL_INCLUDE_DIR})
|
||||
|
Loading…
Reference in New Issue
Block a user