summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-05-31 17:12:50 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-06-03 12:53:41 +0000
commitbedb16ca614edcbf45bef57c84ac40509d5b7e5d (patch)
tree4336ebbb108cc4836e8e2479e6dbcedc52a911d9 /cmake
parent28306fc1ed11c6502e3883bb180ce7eda298b106 (diff)
Stop the flood of warnings due to qt_find_package() usage
The warning used to be a fatal error, until we found out that certain packages might provide optional targets, or provide one target out of a possible set. Until we figure out a better way to deal with that, remove the barrage of warnings while configuring. Change-Id: Iacf93a997a8f87f81167ac7c4cc991212e7fca5d Reviewed-by: Qt CMake Build Bot Reviewed-by: Jean-Michaƫl Celerier <jean-michael.celerier@kdab.com> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtBuild.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake
index fd9cc09572..8e86590d33 100644
--- a/cmake/QtBuild.cmake
+++ b/cmake/QtBuild.cmake
@@ -1959,10 +1959,6 @@ macro(qt_find_package)
set_property(TARGET ${qt_find_package_target_name} PROPERTY
IMPORTED_GLOBAL TRUE)
endif()
- else()
- message(AUTHOR_WARNING
- "Error while trying to mark target '${qt_find_package_target_name}' as part"
- " of the ${ARGV0} package. Provided target name does not exist.")
endif()
endforeach()