mirror of
https://github.com/triqs/dft_tools
synced 2024-11-09 07:33:47 +01:00
Fixed CMakeLists to make 'atm.so' installable
This commit is contained in:
parent
afb1134cb1
commit
68ba0f3751
@ -2,8 +2,10 @@
|
|||||||
set(python_destination applications/dft)
|
set(python_destination applications/dft)
|
||||||
|
|
||||||
# make a local pytriqs copy
|
# make a local pytriqs copy
|
||||||
triqs_prepare_local_pytriqs_merged_with_my_python(${python_destination})
|
#triqs_prepare_local_pytriqs_merged_with_my_python(${python_destination})
|
||||||
|
triqs_prepare_local_pytriqs(${python_destination})
|
||||||
|
|
||||||
# to be able to run from toplevel
|
# to be able to run from toplevel
|
||||||
execute_process(COMMAND ln -fs ${CMAKE_BINARY_DIR}/fortran/vertex/vertex.so ${CMAKE_BINARY_DIR}/pytriqs/${python_destination})
|
execute_process(COMMAND ln -fs ${CMAKE_BINARY_DIR}/fortran/vertex/vertex.so ${CMAKE_BINARY_DIR}/pytriqs/${python_destination})
|
||||||
|
|
||||||
|
add_subdirectory(converters/plovasp)
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
|
set(python_destination applications/dft/converters/plovasp)
|
||||||
|
|
||||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${TRIQS_INCLUDE_ALL})
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${TRIQS_INCLUDE_ALL})
|
||||||
triqs_python_extension(atm)
|
triqs_python_extension(atm ${python_destination})
|
||||||
target_link_libraries(atm atm_c ${TRIQS_LIBRARY_ALL})
|
target_link_libraries(atm atm_c ${TRIQS_LIBRARY_ALL})
|
||||||
triqs_set_rpath_for_target(atm)
|
triqs_set_rpath_for_target(atm)
|
||||||
|
|
||||||
|
#execute_process(COMMAND ln -fs ${CMAKE_CURRENT_BINARY_DIR}/atm.so ${CMAKE_BINARY_DIR}/${python_destination})
|
||||||
|
|
||||||
|
install (TARGETS atm DESTINATION ${TRIQS_PYTHON_LIB_DEST_ROOT}/${python_destination})
|
||||||
|
Loading…
Reference in New Issue
Block a user