1if(NOT DEFINED MAKEFILE)
2 message(FATAL_ERROR "MAKEFILE is not defined")
5file(READ "${MAKEFILE}" makefile_content)
8 otool -l $@ | grep -F "$(shell tfel-config --library-path)" >/dev/null || install_name_tool -add_rpath $(shell tfel-config --library-path) $@
12 "\n\tinstall_name_tool -add_rpath[^\n]*"
15 "${makefile_content}")
17file(WRITE "${MAKEFILE}" "${makefile_content}")