diff --git a/python/app4triqs/CMakeLists.txt b/python/app4triqs/CMakeLists.txt index 4a14759e..46111dd8 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} app4triqs_c) + target_link_libraries(${module_name} PRIVATE app4triqs_c) target_compile_options(${module_name} PUBLIC $<$:-Wno-attributes>) endforeach()