Copy libclang inside the python dir

This commit is contained in:
Zeh Rizzatti 2013-02-06 17:00:07 -03:00 committed by Strahinja Val Markovic
parent 6121d61b1b
commit 8036bb6348

View File

@ -208,6 +208,14 @@ target_link_libraries( ${PROJECT_NAME}
${LIBCLANG_TARGET} ${LIBCLANG_TARGET}
) )
if ( LIBCLANG_TARGET )
add_custom_command(
TARGET ${PROJECT_NAME}
POST_BUILD
COMMAND cp "${LIBCLANG_TARGET}" "$<TARGET_FILE_DIR:${PROJECT_NAME}>"
)
endif()
############################################################################# #############################################################################
# Things are a bit different on Macs when using an external libclang.dylib; here # Things are a bit different on Macs when using an external libclang.dylib; here