# #bmake # #BSD make. See http://www.crufty.net/sjg/docs/freebsd-bmake.htm #On Windows, the resulting executable links dynamically to a POSIX emulator. # ExternalProject_Add ( bmake PREFIX ${CMAKE_INSTALL_PREFIX} BUILD_IN_SOURCE 1 #When running configure, the current directory must be the source directory URL http://www.crufty.net/ftp/pub/sjg/bmake-20180919.tar.gz URL_MD5 d0a3c01b803d4ff51124d2ef455eeb2b PATCH_COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_LIST_DIR}/patch . CONFIGURE_COMMAND ${POSIX_CMD} ./boot-strap --prefix= op=configure BUILD_COMMAND ${POSIX_CMD} ./boot-strap --prefix= op=build INSTALL_COMMAND ${POSIX_CMD} ./boot-strap --prefix= op=install DEPENDS posix-dev )