summaryrefslogtreecommitdiffstats
path: root/cmake/QtNoLinkTargetHelpers.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/QtNoLinkTargetHelpers.cmake')
-rw-r--r--cmake/QtNoLinkTargetHelpers.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmake/QtNoLinkTargetHelpers.cmake b/cmake/QtNoLinkTargetHelpers.cmake
index debf1eb3cd..59dc3ff5ac 100644
--- a/cmake/QtNoLinkTargetHelpers.cmake
+++ b/cmake/QtNoLinkTargetHelpers.cmake
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
function(qt_create_nolink_target target dependee_target)
if(NOT TARGET "${target}")
message(FATAL_ERROR "${target} does not exist when trying to build a nolink target.")
@@ -26,7 +29,7 @@ function(qt_create_nolink_target target dependee_target)
add_library("${nolink_target}" INTERFACE)
set(prefixed_nolink_target "${target}_nolink")
- # Whe configuring an example with qmake, if QtGui is built with Vulkan support but the
+ # When configuring an example with qmake, if QtGui is built with Vulkan support but the
# user's machine where Qt is installed doesn't have Vulkan, qmake doesn't fail saying
# that vulkan is not installed. Instead it silently configures and just doesn't add
# the include headers.