summaryrefslogtreecommitdiffstats
path: root/src/tools/rcc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rcc')
-rw-r--r--src/tools/rcc/.prev_CMakeLists.txt6
-rw-r--r--src/tools/rcc/CMakeLists.txt6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/tools/rcc/.prev_CMakeLists.txt b/src/tools/rcc/.prev_CMakeLists.txt
index 31a9492e5f..f7b790ee5a 100644
--- a/src/tools/rcc/.prev_CMakeLists.txt
+++ b/src/tools/rcc/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## rcc Tool:
#####################################################################
-add_qt_tool(rcc
+qt_add_tool(rcc
BOOTSTRAP
SOURCES
main.cpp
@@ -24,14 +24,14 @@ add_qt_tool(rcc
## Scopes:
#####################################################################
-extend_target(rcc CONDITION QT_FEATURE_zstd AND NOT cross_compile
+qt_extend_target(rcc CONDITION QT_FEATURE_zstd AND NOT cross_compile
DEFINES
QT_FEATURE_zstd=1
LIBRARIES
ZSTD::ZSTD
)
-extend_target(rcc CONDITION cross_compile OR NOT QT_FEATURE_zstd
+qt_extend_target(rcc CONDITION cross_compile OR NOT QT_FEATURE_zstd
DEFINES
QT_FEATURE_zstd=-1
)
diff --git a/src/tools/rcc/CMakeLists.txt b/src/tools/rcc/CMakeLists.txt
index 49f6228701..64610dd991 100644
--- a/src/tools/rcc/CMakeLists.txt
+++ b/src/tools/rcc/CMakeLists.txt
@@ -4,7 +4,7 @@
## rcc Tool:
#####################################################################
-add_qt_tool(rcc
+qt_add_tool(rcc
BOOTSTRAP
TOOLS_TARGET Core # special case
SOURCES
@@ -25,14 +25,14 @@ add_qt_tool(rcc
## Scopes:
#####################################################################
-extend_target(rcc CONDITION QT_FEATURE_zstd AND NOT cross_compile
+qt_extend_target(rcc CONDITION QT_FEATURE_zstd AND NOT cross_compile
DEFINES
QT_FEATURE_zstd=1
LIBRARIES
ZSTD::ZSTD
)
-extend_target(rcc CONDITION cross_compile OR NOT QT_FEATURE_zstd
+qt_extend_target(rcc CONDITION cross_compile OR NOT QT_FEATURE_zstd
DEFINES
QT_FEATURE_zstd=-1
)