Skip to content
Snippets Groups Projects
Commit dd2cf788 authored by marco's avatar marco
Browse files

allow nested subdirectories for Python modules

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1996 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent df5234b9
No related branches found
No related tags found
No related merge requests found
......@@ -431,11 +431,11 @@ macro(pymod)
endforeach()
install(FILES ${_ABS_PY_FILES} DESTINATION
"${LIB_DIR}/${PYMOD_DIR}/${_DIR}")
set(_D "${_HEADER_OUTPUT_DIR}/${_DIR}")
add_custom_target("${_ARG_NAME}_${_DIR}_pymod" ALL)
string(REPLACE "/" "_" _DIR_NO_SLASH "${_DIR}")
add_custom_target("${_ARG_NAME}_${_DIR_NO_SLASH}_pymod" ALL)
copy_if_different("./" "${PYMOD_STAGE_DIR}/${_DIR}"
"${_ABS_PY_FILES}" "TARGETS"
"${_ARG_NAME}_${_DIR}_pymod")
"${_ARG_NAME}_${_DIR_NO_SLASH}_pymod")
set(_PY_FILES)
else()
list(APPEND _PY_FILES "${_PY_FILE}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment