aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-03-09 16:41:38 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-03-17 14:39:47 +0000
commite558d0794b4b22e35ce217818dd96d1e45957b10 (patch)
tree87da2e2458f1af39876be2dd4c3864bd46e7051a /examples
parentf52b95a96cc8f36f766635f9ddb6c95fa6b3c934 (diff)
CMake: Regenerate projectswip/cmake
Change-Id: Ifd6b2289de6465a010f5f2a32789221767b4d5be Reviewed-by: Leander Beernaert <leander.beernaert@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
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\\\"
)