From 746710ea483e267c82e5f8b725ff8c2d9cde5f7d Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Thu, 4 Jun 2020 11:47:23 -0400 Subject: [PATCH] [cmake] explicitly link cpp2py modules against triqs_py library --- python/app4triqs/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/app4triqs/CMakeLists.txt b/python/app4triqs/CMakeLists.txt index 2c90532d..743f1a0b 100644 --- a/python/app4triqs/CMakeLists.txt +++ b/python/app4triqs/CMakeLists.txt @@ -13,7 +13,7 @@ endforeach() foreach(gen ${wrap_generators}) string(REPLACE "_desc.py" "" module_name ${gen}) add_cpp2py_module(${module_name}) - target_link_libraries(${module_name} ${PROJECT_NAME}_c) + target_link_libraries(${module_name} ${PROJECT_NAME}_c triqs_py) endforeach() # Install python modules to proper location