project(duktape-download NONE) cmake_minimum_required(VERSION 3.2) include(ExternalProject) ExternalProject_Add( duktape GIT_REPOSITORY https://github.com/svaarala/duktape-releases.git GIT_TAG v2.2.0 DOWNLOAD_DIR ${DUKTAPE_DEPS_DIR} TMP_DIR ${DUKTAPE_DEPS_DIR}/tmp STAMP_DIR ${DUKTAPE_DEPS_DIR}/stamp SOURCE_DIR ${DUKTAPE_DEPS_DIR}/src BINARY_DIR ${DUKTAPE_DEPS_DIR}/build CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND "" TEST_COMMAND "" )