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>
This commit is contained in:
parent
a0e6539848
commit
1ab1070f21
@ -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
|
||||
|
@ -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
|
||||
|
@ -22,9 +22,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)
|
||||
|
||||
if (NOT QT_NO_CREATE_TARGETS)
|
||||
# Find required dependencies, if any.
|
||||
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/@INSTALL_CMAKE_NAMESPACE@@target@Dependencies.cmake")
|
||||
|
Loading…
x
Reference in New Issue
Block a user