diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2018-10-24 09:22:50 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2018-11-03 11:14:40 (GMT) |
commit | b5e895b5d41dc688bf0acdec352cbccc178a7236 (patch) | |
tree | ec8b65fd661689d0c814f1e9583b12ce402e23fa /Modules/CMakeGenericSystem.cmake | |
parent | 443c574a7cc39ea490fabd1392108e651806a3e6 (diff) | |
download | CMake-b5e895b5d41dc688bf0acdec352cbccc178a7236.zip CMake-b5e895b5d41dc688bf0acdec352cbccc178a7236.tar.gz CMake-b5e895b5d41dc688bf0acdec352cbccc178a7236.tar.bz2 |
Autogen: Add (CMAKE_)AUTOGEN_ORIGIN_DEPENDS support
This adds
- the variable ``CMAKE_AUTOGEN_ORIGIN_DEPENDS`` which initializes
- the target property ``AUTOGEN_ORIGIN_DEPENDS``
which controls whether or not the origin target dependencies
should be forwarded to the corresponding ``_autogen`` target.
The default value of ``CMAKE_AUTOGEN_ORIGIN_DEPENDS`` is ``ON``
which corresponds to the behavior that is in place since CMake 3.9.
Closes: #18493
Diffstat (limited to 'Modules/CMakeGenericSystem.cmake')
-rw-r--r-- | Modules/CMakeGenericSystem.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeGenericSystem.cmake b/Modules/CMakeGenericSystem.cmake index 02cb464..ddfc7bd 100644 --- a/Modules/CMakeGenericSystem.cmake +++ b/Modules/CMakeGenericSystem.cmake @@ -23,6 +23,8 @@ set(CMAKE_DL_LIBS "dl") set(CMAKE_FIND_LIBRARY_PREFIXES "lib") set(CMAKE_FIND_LIBRARY_SUFFIXES ".so" ".a") + +set(CMAKE_AUTOGEN_ORIGIN_DEPENDS ON) set(CMAKE_AUTOMOC_COMPILER_PREDEFINES ON) set(CMAKE_AUTOMOC_MACRO_NAMES "Q_OBJECT" "Q_GADGET" "Q_NAMESPACE") |