mirror of
https://github.com/curl/curl.git
synced 2026-06-21 23:15:37 +03:00
try define_property
This commit is contained in:
parent
7b8058aef3
commit
dba3a23d37
2 changed files with 4 additions and 0 deletions
|
|
@ -265,6 +265,8 @@ if(GSS_FOUND)
|
|||
endif()
|
||||
|
||||
if(NOT TARGET CURL::gss)
|
||||
define_property(TARGET PROPERTY CURL_GSS_FLAVOUR BRIEF_DOCS "GSS flavour: GNU, MIT or Heimdal")
|
||||
|
||||
add_library(CURL::gss INTERFACE IMPORTED)
|
||||
set_target_properties(CURL::gss PROPERTIES
|
||||
VERSION "${GSS_VERSION}"
|
||||
|
|
|
|||
|
|
@ -45,6 +45,8 @@ if(NOT "$ENV{CURL_BUILDINFO}$ENV{CURL_CI}$ENV{CI}" STREQUAL "")
|
|||
endforeach()
|
||||
endif()
|
||||
|
||||
define_property(TARGET PROPERTY CURL_PC_MODULES BRIEF_DOCS "pkg-config modules")
|
||||
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake" ${CMAKE_MODULE_PATH})
|
||||
include(Utilities)
|
||||
include(Macros)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue