From 053ef335bf20f62ca7d4c68ca29f0472b5e87dfb Mon Sep 17 00:00:00 2001 From: Philipp Storz Date: Mon, 17 Feb 2020 13:30:17 +0100 Subject: [PATCH] systemtests: fix python-dir-plugin-test --- systemtests/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/systemtests/CMakeLists.txt b/systemtests/CMakeLists.txt index 586b61a6e6e..1f9a4729073 100644 --- a/systemtests/CMakeLists.txt +++ b/systemtests/CMakeLists.txt @@ -461,9 +461,13 @@ else() # run systemtests on source and compiled files get_target_property(FD_PLUGINS_DIR_TO_TEST bpipe-fd BINARY_DIR) get_target_property(SD_PLUGINS_DIR_TO_TEST autoxflate-sd BINARY_DIR) - get_target_property(DIR_PLUGINS_DIR_TO_TEST python-dir BINARY_DIR) - get_target_property(BACKEND_DIR_TO_TEST bareoscats BINARY_DIR) + if(TARGET python-dir) + get_target_property(DIR_PLUGINS_DIR_TO_TEST python-dir BINARY_DIR) + else() + set(DIR_PLUGINS_DIR_TO_TEST ${CMAKE_BINARY_DIR}/core/src/plugins/dird) + endif() + get_target_property(BACKEND_DIR_TO_TEST bareoscats BINARY_DIR) set(SCRIPTS_DIR_TO_TEST ${CMAKE_BINARY_DIR}/core/scripts) set(WEBUI_PUBLIC_DIR_TO_TEST ${PROJECT_SOURCE_DIR}/../webui/public)