2016-03-11 11:41:37 +01:00
|
|
|
set(python_destination pytriqs/applications/dft/converters/plovasp)
|
2016-03-09 20:03:02 +01:00
|
|
|
|
2016-03-09 19:04:05 +01:00
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${TRIQS_INCLUDE_ALL})
|
2016-03-09 20:03:02 +01:00
|
|
|
triqs_python_extension(atm ${python_destination})
|
2016-03-09 19:04:05 +01:00
|
|
|
target_link_libraries(atm atm_c ${TRIQS_LIBRARY_ALL})
|
|
|
|
triqs_set_rpath_for_target(atm)
|
|
|
|
|
2016-03-24 14:30:50 +01:00
|
|
|
# This we need in order for tests to work
|
|
|
|
add_custom_command(TARGET atm POST_BUILD COMMAND ln -fs ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}/atm.so ${CMAKE_BINARY_DIR}/python/dft/converters/plovasp)
|
2016-03-09 20:03:02 +01:00
|
|
|
|
|
|
|
install (TARGETS atm DESTINATION ${TRIQS_PYTHON_LIB_DEST_ROOT}/${python_destination})
|