forked from qt-creator/qt-creator
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>
10 lines
184 B
CMake
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}"
|
|
)
|