summaryrefslogtreecommitdiff
path: root/src/qtattributionsscanner
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2021-07-13 17:02:06 +0200
committerKai Köhne <kai.koehne@qt.io>2021-07-14 17:04:14 +0200
commit31b842adc063a07b97091f5c75e9cc5de8f76f6c (patch)
tree33beb1267648eeed785bd3713b5da2570d5c27eb /src/qtattributionsscanner
parent3f8a4f1ed1357e2113c46bb5f9cadb0f46408971 (diff)
downloadqttools-31b842adc063a07b97091f5c75e9cc5de8f76f6c.tar.gz
Remove Qt 5 leftover files
Pick-to: 6.2 Change-Id: I6d9593d122342f9852abce0f4c5262159eb9db43 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/qtattributionsscanner')
-rw-r--r--src/qtattributionsscanner/Qt5AttributionsScannerTools.cmake.in67
1 files changed, 0 insertions, 67 deletions
diff --git a/src/qtattributionsscanner/Qt5AttributionsScannerTools.cmake.in b/src/qtattributionsscanner/Qt5AttributionsScannerTools.cmake.in
deleted file mode 100644
index e99540bfa..000000000
--- a/src/qtattributionsscanner/Qt5AttributionsScannerTools.cmake.in
+++ /dev/null
@@ -1,67 +0,0 @@
-if (CMAKE_VERSION VERSION_LESS 2.8.3)
- message(FATAL_ERROR \"Qt 5 requires at least CMake version 2.8.3\")
-endif()
-
-!!IF !isEmpty(CMAKE_USR_MOVE_WORKAROUND)
-!!IF !isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
-set(_qt5_qattributionsscannertools_install_prefix \"$$[QT_INSTALL_PREFIX]\")
-!!ELSE
-get_filename_component(_IMPORT_PREFIX \"${CMAKE_CURRENT_LIST_FILE}\" PATH)
-# Use original install prefix when loaded through a
-# cross-prefix symbolic link such as /lib -> /usr/lib.
-get_filename_component(_realCurr \"${_IMPORT_PREFIX}\" REALPATH)
-get_filename_component(_realOrig \"$$CMAKE_INSTALL_LIBS_DIR/cmake/Qt5AttributionsScannerTools\" REALPATH)
-if(_realCurr STREQUAL _realOrig)
- get_filename_component(_qt5_qattributionsscannertools_install_prefix \"$$CMAKE_INSTALL_LIBS_DIR/$${CMAKE_RELATIVE_INSTALL_LIBS_DIR}\" ABSOLUTE)
-else()
- get_filename_component(_qt5_qattributionsscannertools_install_prefix \"${CMAKE_CURRENT_LIST_DIR}/$${CMAKE_RELATIVE_INSTALL_DIR}\" ABSOLUTE)
-endif()
-unset(_realOrig)
-unset(_realCurr)
-unset(_IMPORT_PREFIX)
-!!ENDIF
-!!ELIF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
-get_filename_component(_qt5_qattributionsscannertools_install_prefix \"${CMAKE_CURRENT_LIST_DIR}/$${CMAKE_RELATIVE_INSTALL_DIR}\" ABSOLUTE)
-!!ELSE
-set(_qt5_qattributionsscannertools_install_prefix \"$$[QT_INSTALL_PREFIX]\")
-!!ENDIF
-
-macro(_qt5_AttributionsScannerTools_check_file_exists file)
- if(NOT EXISTS \"${file}\" )
- message(FATAL_ERROR \"The package \\\"Qt5AttributionsScannerTools\\\" references the file
- \\\"${file}\\\"
-but this file does not exist. Possible reasons include:
-* The file was deleted, renamed, or moved to another location.
-* An install or uninstall procedure did not complete successfully.
-* The installation package was faulty and contained
- \\\"${CMAKE_CURRENT_LIST_FILE}\\\"
-but not all the files it references.
-\")
- endif()
-endmacro()
-
-if (NOT TARGET Qt5::qtattributionsscanner)
- add_executable(Qt5::qtattributionsscanner IMPORTED)
-
-!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
- set(imported_location \"${_qt5_qattributionsscannertools_install_prefix}/$${CMAKE_BIN_DIR}qtattributionsscanner$$CMAKE_BIN_SUFFIX\")
-!!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}qtattributionsscanner$$CMAKE_BIN_SUFFIX\")
-!!ENDIF
- _qt5_AttributionsScannerTools_check_file_exists(${imported_location})
-
- set_target_properties(Qt5::qtattributionsscanner PROPERTIES
- IMPORTED_LOCATION ${imported_location}
- )
-endif()
-
-# Create versionless tool targets.
-foreach(__qt_tool qtattributionsscanner)
- if(NOT \"${QT_NO_CREATE_VERSIONLESS_TARGETS}\" AND NOT TARGET Qt::${__qt_tool}
- AND TARGET Qt5::${__qt_tool})
- add_executable(Qt::${__qt_tool} IMPORTED)
- get_target_property(__qt_imported_location Qt5::${__qt_tool} IMPORTED_LOCATION)
- set_target_properties(Qt::${__qt_tool}
- PROPERTIES IMPORTED_LOCATION \"${__qt_imported_location}\")
- endif()
-endforeach()