cmake_minimum_required(VERSION 3.6) project(mkldnn-download NONE) #war #v1.4 -G \"Unix Makefiles\" #ver v2.2.3 include(ExternalProject) ExternalProject_Add(mkldnn GIT_REPOSITORY https://github.com/oneapi-src/oneDNN.git GIT_TAG v1.8.1 GIT_SHALLOW true SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/mkldnn-src" BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/mkldnn-build" CONFIGURE_COMMAND "" CMAKE_ARGS -DDNNL_USE_MKL=ML -DDNNL_LIBRARY_TYPE=STATIC BUILD_COMMAND "" INSTALL_COMMAND "" TEST_COMMAND "" )