summaryrefslogtreecommitdiffstats
path: root/cmake/QtModuleConfig.cmake.in
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2024-12-13 10:44:29 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2024-12-16 18:50:06 +0100
commit1ab1070f21d37d53ca6a8790e51cc8a708f40d83 (patch)
tree97df22b19370895f87c8482c80c96a7947d2e69d /cmake/QtModuleConfig.cmake.in
parenta0e65398483729259cf58781949133c6055fdc7c (diff)
CMake: Remove unused _import_prefix variable from config packages
The usage of this variable was removed in the past, and there's no reason to keep it around. Change-Id: I786acc52ed903b20d4eb14bc057b45bff72ceffe Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'cmake/QtModuleConfig.cmake.in')
-rw-r--r--cmake/QtModuleConfig.cmake.in3
1 files changed, 0 insertions, 3 deletions
diff --git a/cmake/QtModuleConfig.cmake.in b/cmake/QtModuleConfig.cmake.in
index 004e6a88515..501e1780dc5 100644
--- a/cmake/QtModuleConfig.cmake.in
+++ b/cmake/QtModuleConfig.cmake.in
@@ -7,9 +7,6 @@ cmake_minimum_required(VERSION @min_new_policy_version@...@max_new_policy_versio
include(CMakeFindDependencyMacro)
-get_filename_component(_import_prefix "${CMAKE_CURRENT_LIST_FILE}" PATH)
-get_filename_component(_import_prefix "${_import_prefix}" REALPATH)
-
# Extra cmake code begin
@extra_cmake_code@
# Extra cmake code end