Files
qt-creator/tests/auto/solutions/qprocesstask/testsleep/CMakeLists.txt
Cristian Adam 6caf0f0d59 Testsleep: Fix CMake configuration error when test is disabled
If the user has a minimal configuration and the test is not enabled the
call to set_target_properties will fail because the target does not
exist.

Change-Id: I084c53e8d78d92547c1592edc0a19f48d4e76327
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-12-07 11:22:05 +00:00

10 lines
184 B
CMake

add_qtc_executable(testsleep
SOURCES main.cpp
SKIP_INSTALL
INTERNAL_ONLY
)
extend_qtc_executable(testsleep
PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
)