Skip to content

Commit

Permalink
systemtests: do not get target property if target python-dir does not…
Browse files Browse the repository at this point in the history
… exist

- uses flag HAVE_PYTHON that shows if python-devel is installed
  • Loading branch information
franku committed Feb 11, 2020
1 parent 00c072f commit 6770e55
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion systemtests/CMakeLists.txt
Expand Up @@ -431,7 +431,9 @@ 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)
if(HAVE_PYTHON)
get_target_property(DIR_PLUGINS_DIR_TO_TEST python-dir BINARY_DIR)
endif()
get_target_property(BACKEND_DIR_TO_TEST bareoscats BINARY_DIR)

set(SCRIPTS_DIR_TO_TEST ${CMAKE_BINARY_DIR}/core/scripts)
Expand Down

0 comments on commit 6770e55

Please sign in to comment.