aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/quickcontrols2/texteditor/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quickcontrols2/texteditor/CMakeLists.txt b/examples/quickcontrols2/texteditor/CMakeLists.txt
index 9ae1a04d..d9e24479 100644
--- a/examples/quickcontrols2/texteditor/CMakeLists.txt
+++ b/examples/quickcontrols2/texteditor/CMakeLists.txt
@@ -52,7 +52,7 @@ if(TARGET Qt::Widgets)
)
endif()
-if(cross_compile)
+if(CMAKE_CROSSCOMPILING)
target_compile_definitions(texteditor PUBLIC
QT_EXTRA_FILE_SELECTOR=\\\"touch\\\"
)