mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 22:30:13 -06:00
$<LINK_LIBRARY>: Add LINK_LIBRARY_OVERRIDE target property
To enable the management of incompatible $<LINK_LIBRARY> declarations, add LINK_LIBRARY_OVERRIDE and LINK_LIBRARY_OVERRIDE_<LIBRARY> target properties.
This commit is contained in:
@@ -24,6 +24,12 @@ set(CMAKE_DL_LIBS "dl")
|
||||
set(CMAKE_FIND_LIBRARY_PREFIXES "lib")
|
||||
set(CMAKE_FIND_LIBRARY_SUFFIXES ".so" ".a")
|
||||
|
||||
# Define feature "DEFAULT" as supported. This special feature generates the
|
||||
# default option to link a library
|
||||
# This feature is intended to be used in LINK_LIBRARY_OVERRIDE and
|
||||
# LINK_LIBRARY_OVERRIDE_<LIBRARY> target properties
|
||||
set(CMAKE_LINK_USING_DEFAULT_SUPPORTED TRUE)
|
||||
|
||||
set(CMAKE_AUTOGEN_ORIGIN_DEPENDS ON)
|
||||
set(CMAKE_AUTOMOC_COMPILER_PREDEFINES ON)
|
||||
if(NOT DEFINED CMAKE_AUTOMOC_PATH_PREFIX)
|
||||
|
||||
Reference in New Issue
Block a user