summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Ninja
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2021-02-23 13:19:50 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2021-02-23 14:17:12 (GMT)
commite3740e020ed75080dcbc2ac2ca6b2fd25d968f99 (patch)
tree412352596aa3e4231e33482f8a85d2bc44bc036b /Tests/RunCMake/Ninja
parentcf34011ce780254c2f649f6f7dffc619297333b8 (diff)
downloadCMake-e3740e020ed75080dcbc2ac2ca6b2fd25d968f99.zip
CMake-e3740e020ed75080dcbc2ac2ca6b2fd25d968f99.tar.gz
CMake-e3740e020ed75080dcbc2ac2ca6b2fd25d968f99.tar.bz2
Tests: Test Qt autogen target with CMP0116 set to WARN
Diffstat (limited to 'Tests/RunCMake/Ninja')
-rw-r--r--Tests/RunCMake/Ninja/Qt5AutoMocDeps.cmake1
-rw-r--r--Tests/RunCMake/Ninja/QtSubDir3/CMakeLists.txt2
2 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/Ninja/Qt5AutoMocDeps.cmake b/Tests/RunCMake/Ninja/Qt5AutoMocDeps.cmake
index d314ff3..7456608 100644
--- a/Tests/RunCMake/Ninja/Qt5AutoMocDeps.cmake
+++ b/Tests/RunCMake/Ninja/Qt5AutoMocDeps.cmake
@@ -10,3 +10,4 @@ target_link_libraries(app_with_qt PRIVATE simple_lib Qt5::Core)
add_subdirectory(QtSubDir1)
add_subdirectory(QtSubDir2)
+add_subdirectory(QtSubDir3)
diff --git a/Tests/RunCMake/Ninja/QtSubDir3/CMakeLists.txt b/Tests/RunCMake/Ninja/QtSubDir3/CMakeLists.txt
new file mode 100644
index 0000000..d38cfe0
--- /dev/null
+++ b/Tests/RunCMake/Ninja/QtSubDir3/CMakeLists.txt
@@ -0,0 +1,2 @@
+add_executable(sub_exe_3 ../app.cpp)
+target_link_libraries(sub_exe_3 PRIVATE Qt5::Core)