summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qmake/.prev_CMakeLists.txt4
-rw-r--r--qmake/CMakeLists.txt4
-rw-r--r--qmake/qmake.pro2
3 files changed, 6 insertions, 4 deletions
diff --git a/qmake/.prev_CMakeLists.txt b/qmake/.prev_CMakeLists.txt
index 1a409ed77a..63b34a0970 100644
--- a/qmake/.prev_CMakeLists.txt
+++ b/qmake/.prev_CMakeLists.txt
@@ -1,10 +1,10 @@
# Generated from qmake.pro.
#####################################################################
-## qmake Binary:
+## qmake Tool:
#####################################################################
-qt_add_executable(qmake
+qt_add_tool(qmake
SOURCES
../src/3rdparty/pcre2/src/config.h
../src/3rdparty/pcre2/src/pcre2.h
diff --git a/qmake/CMakeLists.txt b/qmake/CMakeLists.txt
index 6141632aef..253040d402 100644
--- a/qmake/CMakeLists.txt
+++ b/qmake/CMakeLists.txt
@@ -1,10 +1,10 @@
# Generated from qmake.pro.
#####################################################################
-## qmake Binary:
+## qmake Tool:
#####################################################################
-qt_add_tool(qmake # special case
+qt_add_tool(qmake
NO_QT # special case
TOOLS_TARGET Core # special case
# GUI # special case: remove this
diff --git a/qmake/qmake.pro b/qmake/qmake.pro
index 81b464688e..10f118724c 100644
--- a/qmake/qmake.pro
+++ b/qmake/qmake.pro
@@ -261,3 +261,5 @@ unix {
mingw: LIBS += -luuid
clang: QMAKE_CXXFLAGS += -fms-compatibility-version=19.00.23506 -Wno-microsoft-enum-value
}
+
+load(qt_tool)