summaryrefslogtreecommitdiffstats
path: root/examples/demos/stocqt
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-01-21 09:26:12 +0100
committerKai Köhne <kai.koehne@qt.io>2022-01-25 10:17:05 +0100
commit0e7a4b059303fc466c0cf150a8641f0cfd1fd4a5 (patch)
tree5a1147e52ca2e8ef0fdde1949d636ca2ee4deb12 /examples/demos/stocqt
parent1ce9db65f1d5e80af3c451fbb82995634906b6f7 (diff)
Examples: Remove unneeded CMake options
CMAKE_INCLUDE_CURRENT_DIR is not necessary anymore for moc since CMake 3.8: https://cmake.org/cmake/help/latest/release/3.8.html#other-changes Enable CMAKE_AUTOUIC only if .ui files are present. Pick-to: 6.3 Change-Id: Ic34418e3306de0ee1769bc3153bb833f7951da19 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/demos/stocqt')
-rw-r--r--examples/demos/stocqt/CMakeLists.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/demos/stocqt/CMakeLists.txt b/examples/demos/stocqt/CMakeLists.txt
index bf9bdd679..d3109b75b 100644
--- a/examples/demos/stocqt/CMakeLists.txt
+++ b/examples/demos/stocqt/CMakeLists.txt
@@ -1,10 +1,7 @@
cmake_minimum_required(VERSION 3.16)
project(stocqt LANGUAGES CXX)
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTOUIC ON)
if(NOT DEFINED INSTALL_EXAMPLESDIR)
set(INSTALL_EXAMPLESDIR "examples")