mirror of
https://github.com/curl/curl.git
synced 2026-08-24 11:03:36 +03:00
drop VERSION property for cmake <3.19 compatibility
``` -- Found Libpsl: /usr/local/include (found version "0.21.5") CMake Error at CMake/FindLibpsl.cmake:90 (set_target_properties): INTERFACE_LIBRARY targets may only have whitelisted properties. The property "VERSION" is not allowed. Call Stack (most recent call first): CMakeLists.txt:1252 (find_package) ```
This commit is contained in:
parent
dba3a23d37
commit
0edc16e922
19 changed files with 0 additions and 19 deletions
|
|
@ -87,7 +87,6 @@ if(NGHTTP3_FOUND)
|
|||
if(NOT TARGET CURL::nghttp3)
|
||||
add_library(CURL::nghttp3 INTERFACE IMPORTED)
|
||||
set_target_properties(CURL::nghttp3 PROPERTIES
|
||||
VERSION "${NGHTTP3_VERSION}"
|
||||
CURL_PC_MODULES "${_nghttp3_pc_requires}"
|
||||
INTERFACE_COMPILE_OPTIONS "${_nghttp3_CFLAGS}"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_nghttp3_INCLUDE_DIRS}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue