mirror of
https://github.com/triqs/dft_tools
synced 2025-01-03 10:05:49 +01:00
[cmake] Use target_link_libraries with keyword for cpp2py modules
This commit is contained in:
parent
961215ccac
commit
d3f68310a6
@ -1,6 +1,6 @@
|
|||||||
# === Build and install atm module
|
# === Build and install atm module
|
||||||
add_cpp2py_module(atm)
|
add_cpp2py_module(atm)
|
||||||
target_link_libraries(atm atm_c triqs)
|
target_link_libraries(atm PRIVATE atm_c triqs)
|
||||||
target_compile_options(atm PRIVATE -std=c++17)
|
target_compile_options(atm PRIVATE -std=c++17)
|
||||||
target_include_directories(atm PRIVATE ${CMAKE_SOURCE_DIR}/c++)
|
target_include_directories(atm PRIVATE ${CMAKE_SOURCE_DIR}/c++)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user