diff --git a/python/app4triqs/CMakeLists.txt b/python/app4triqs/CMakeLists.txt index 46111dd8..7b8b47dd 100644 --- a/python/app4triqs/CMakeLists.txt +++ b/python/app4triqs/CMakeLists.txt @@ -13,8 +13,7 @@ endforeach() foreach(gen ${wrap_generators}) string(REPLACE "_desc.py" "" module_name ${gen}) add_cpp2py_module(${module_name}) - target_link_libraries(${module_name} PRIVATE app4triqs_c) - target_compile_options(${module_name} PUBLIC $<$:-Wno-attributes>) + target_link_libraries(${module_name} app4triqs_c) endforeach() # Install python modules to proper location