From 664d95a981f2c4cb116f4f89a33e8c5698f7ff8f Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Mon, 11 Dec 2023 13:46:36 -0800 Subject: [PATCH] Add CLIF_DEPS to cmake_parse_arguments inside add_pyclif_library_for_test --- clif/testing/python/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clif/testing/python/CMakeLists.txt b/clif/testing/python/CMakeLists.txt index 21a5aef8..c001315a 100644 --- a/clif/testing/python/CMakeLists.txt +++ b/clif/testing/python/CMakeLists.txt @@ -30,13 +30,14 @@ add_custom_target(runPyClifIntegrationTests # # $> ninja [pyclif_library_target_name]_test function(add_pyclif_library_for_test name) - cmake_parse_arguments(PYCLIF_TEST_LIBRARY "" "" "TEST;PY_DEPS" ${ARGN}) + cmake_parse_arguments(PYCLIF_TEST_LIBRARY "" "" "TEST;PY_DEPS;CLIF_DEPS" ${ARGN}) if (NOT DEFINED PYCLIF_TEST_LIBRARY_TEST) set(PYCLIF_TEST_LIBRARY_TEST "${name}_test.py") endif() add_pyclif_library(${name} ${ARGN} + CLIF_DEPS ${PYCLIF_TEST_LIBRARY_CLIF_DEPS} ) clif_target_name(${name} lib_target_name)