CMake build: Fix running tst_sdktool from different directory

It would only run exactly from the Qt Creator build directory.

Change-Id: Ifd105bdaab7405f93b6fb6084a85014fc4023b2f
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Eike Ziller
2021-05-28 13:35:00 +02:00
parent ab55fb2446
commit 0f64c88510

View File

@@ -1,5 +1,6 @@
qtc_output_binary_dir(_output_binary_dir)
add_qtc_test(tst_sdktool add_qtc_test(tst_sdktool
DEPENDS Utils DEPENDS Utils
DEFINES SDKTOOL_DIR="${IDE_LIBEXEC_PATH}" DEFINES SDKTOOL_DIR="${_output_binary_dir}/${IDE_LIBEXEC_PATH}"
SOURCES tst_sdktool.cpp SOURCES tst_sdktool.cpp
) )