mirror of
https://github.com/curl/curl.git
synced 2026-08-24 20:33:42 +03:00
find step 5 iface 3
This commit is contained in:
parent
263c0792bc
commit
a66c669bb6
19 changed files with 171 additions and 171 deletions
|
|
@ -80,17 +80,17 @@ endif()
|
|||
|
||||
if(NGHTTP2_FOUND)
|
||||
if(CMAKE_VERSION VERSION_LESS 3.13)
|
||||
link_directories(${_bearssl_LIBRARY_DIRS})
|
||||
link_directories(${_nghttp2_LIBRARY_DIRS})
|
||||
endif()
|
||||
|
||||
if(NOT TARGET CURL::bearssl)
|
||||
add_library(CURL::bearssl INTERFACE IMPORTED)
|
||||
set_target_properties(CURL::bearssl PROPERTIES
|
||||
if(NOT TARGET CURL::nghttp2)
|
||||
add_library(CURL::nghttp2 INTERFACE IMPORTED)
|
||||
set_target_properties(CURL::nghttp2 PROPERTIES
|
||||
VERSION "${NGHTTP2_VERSION}"
|
||||
CURL_PC_MODULES "${_bearssl_pc_requires}"
|
||||
INTERFACE_COMPILE_OPTIONS "${_bearssl_CFLAGS}"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_bearssl_INCLUDE_DIRS}"
|
||||
INTERFACE_LINK_DIRECTORIES "${_bearssl_LIBRARY_DIRS}"
|
||||
INTERFACE_LINK_LIBRARIES "${_bearssl_LIBRARIES}")
|
||||
CURL_PC_MODULES "${_nghttp2_pc_requires}"
|
||||
INTERFACE_COMPILE_OPTIONS "${_nghttp2_CFLAGS}"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_nghttp2_INCLUDE_DIRS}"
|
||||
INTERFACE_LINK_DIRECTORIES "${_nghttp2_LIBRARY_DIRS}"
|
||||
INTERFACE_LINK_LIBRARIES "${_nghttp2_LIBRARIES}")
|
||||
endif()
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue