blob: b9f685f37bf52545c23fe54c65ac39d78924e151 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# -*- cmake -*-
include(Prebuilt)
include_guard()
add_library( ll::libcurl INTERFACE IMPORTED )
use_system_binary(libcurl)
use_prebuilt_binary(curl)
if (WINDOWS)
target_link_libraries(ll::libcurl INTERFACE libcurl.lib)
else (WINDOWS)
target_link_libraries(ll::libcurl INTERFACE libcurl.a)
endif (WINDOWS)
target_include_directories( ll::libcurl SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include)
|