From e3740e020ed75080dcbc2ac2ca6b2fd25d968f99 Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Tue, 23 Feb 2021 08:19:50 -0500 Subject: Tests: Test Qt autogen target with CMP0116 set to WARN --- Tests/RunCMake/Ninja/Qt5AutoMocDeps.cmake | 1 + Tests/RunCMake/Ninja/QtSubDir3/CMakeLists.txt | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 Tests/RunCMake/Ninja/QtSubDir3/CMakeLists.txt 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) -- cgit v0.12