summaryrefslogtreecommitdiffstats
path: root/examples/demos/hangman
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/hangman
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/hangman')
-rw-r--r--examples/demos/hangman/CMakeLists.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/demos/hangman/CMakeLists.txt b/examples/demos/hangman/CMakeLists.txt
index bfeab9444..3d31258c4 100644
--- a/examples/demos/hangman/CMakeLists.txt
+++ b/examples/demos/hangman/CMakeLists.txt
@@ -5,8 +5,6 @@
cmake_minimum_required(VERSION 3.16)
project(hangman LANGUAGES CXX)
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
set(CMAKE_AUTOMOC ON)
if(NOT DEFINED INSTALL_EXAMPLESDIR)