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:
Viktor Szakats 2025-04-06 02:15:52 +02:00
parent dba3a23d37
commit 0edc16e922
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
19 changed files with 0 additions and 19 deletions

View file

@ -108,7 +108,6 @@ if(LIBRTMP_FOUND)
if(NOT TARGET CURL::librtmp)
add_library(CURL::librtmp INTERFACE IMPORTED)
set_target_properties(CURL::librtmp PROPERTIES
VERSION "${LIBRTMP_VERSION}"
CURL_PC_MODULES "${_librtmp_pc_requires}"
INTERFACE_COMPILE_OPTIONS "${_librtmp_CFLAGS}"
INTERFACE_INCLUDE_DIRECTORIES "${_librtmp_INCLUDE_DIRS}"