From 426b30c37ef536e3610b920e43c868c1b344131f Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sat, 16 Jul 2022 16:35:22 -0700 Subject: [PATCH] Fix python tests dependencies So that ninja check works from a clean build directory with Python enabled. --- bindings/python/tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/tests/CMakeLists.txt b/bindings/python/tests/CMakeLists.txt index f583e1ce8b..ccf4d6a3e0 100644 --- a/bindings/python/tests/CMakeLists.txt +++ b/bindings/python/tests/CMakeLists.txt @@ -5,7 +5,7 @@ if (WITH_PYTHON) # Because it hasn't been built yet set(test_core_dir ${CMAKE_BINARY_DIR}/common/test-core) endif() - add_custom_target(test-python-bindings ALL DEPENDS unittest_support gnucash-core-c-build gnucash-core-c-py sw_app_utils) + add_custom_target(test-python-bindings ALL DEPENDS unittest_support gnucash-core-c-build gnucash-core-c-py sw-core-utils-build sw-core-utils-py sw-app-utils-build sw-app-utils-py) add_dependencies(check test-python-bindings) add_test(python-bindings ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/runTests.py.in) set_property(TEST python-bindings PROPERTY ENVIRONMENT