From 3039c15fa1eb0e2fbd46b1ab62a7a10c65e88ad8 Mon Sep 17 00:00:00 2001 From: Alexander Zai Date: Wed, 14 Nov 2018 11:28:46 -0800 Subject: [PATCH 1/2] include mkl headers --- cmake/DownloadMKLML.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/DownloadMKLML.cmake b/cmake/DownloadMKLML.cmake index c2c1cd6916f6..838975f4063e 100644 --- a/cmake/DownloadMKLML.cmake +++ b/cmake/DownloadMKLML.cmake @@ -65,7 +65,7 @@ elseif(UNIX) "-C" "${CMAKE_CURRENT_BINARY_DIR}/mklml/") set(MKLROOT "${CMAKE_CURRENT_BINARY_DIR}/mklml/${MKL_NAME}") - + include_directories(${MKLROOT}/include) message(STATUS "Setting MKLROOT path to ${MKLROOT}") else() From d9b56906afc469e162117c9015066c0464171ad2 Mon Sep 17 00:00:00 2001 From: Alexander Zai Date: Wed, 14 Nov 2018 11:40:23 -0800 Subject: [PATCH 2/2] add include to mac build --- cmake/DownloadMKLML.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/DownloadMKLML.cmake b/cmake/DownloadMKLML.cmake index 838975f4063e..eabf861a4b2a 100644 --- a/cmake/DownloadMKLML.cmake +++ b/cmake/DownloadMKLML.cmake @@ -54,6 +54,7 @@ elseif(APPLE) set(MKLROOT "${CMAKE_CURRENT_BINARY_DIR}/mklml/${MKL_NAME}") message(STATUS "Setting MKLROOT path to ${MKLROOT}") + include_directories(${MKLROOT}/include) elseif(UNIX) set(MKL_NAME "mklml_lnx_${MKLML_RELEASE_FILE_SUFFIX}") @@ -65,8 +66,8 @@ elseif(UNIX) "-C" "${CMAKE_CURRENT_BINARY_DIR}/mklml/") set(MKLROOT "${CMAKE_CURRENT_BINARY_DIR}/mklml/${MKL_NAME}") - include_directories(${MKLROOT}/include) message(STATUS "Setting MKLROOT path to ${MKLROOT}") + include_directories(${MKLROOT}/include) else() message(FATAL_ERROR "Wrong platform")