forked from qt-creator/qt-creator
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:
@@ -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
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user