3
0
mirror of https://github.com/triqs/dft_tools synced 2024-08-06 20:40:00 +02:00

[cmake] explicitly link cpp2py modules against triqs_py library

This commit is contained in:
Nils Wentzell 2020-06-04 11:47:23 -04:00
parent 909a772205
commit 746710ea48

View File

@ -13,7 +13,7 @@ endforeach()
foreach(gen ${wrap_generators}) foreach(gen ${wrap_generators})
string(REPLACE "_desc.py" "" module_name ${gen}) string(REPLACE "_desc.py" "" module_name ${gen})
add_cpp2py_module(${module_name}) add_cpp2py_module(${module_name})
target_link_libraries(${module_name} ${PROJECT_NAME}_c) target_link_libraries(${module_name} ${PROJECT_NAME}_c triqs_py)
endforeach() endforeach()
# Install python modules to proper location # Install python modules to proper location