Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix/link to mkl build (#13268)
Browse files Browse the repository at this point in the history
* include mkl headers

* add include to mac build
  • Loading branch information
azai91 authored and szha committed Nov 20, 2018
1 parent 779bdc5 commit 5042ec3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/DownloadMKLML.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand All @@ -65,8 +66,8 @@ elseif(UNIX)
"-C" "${CMAKE_CURRENT_BINARY_DIR}/mklml/")

set(MKLROOT "${CMAKE_CURRENT_BINARY_DIR}/mklml/${MKL_NAME}")

message(STATUS "Setting MKLROOT path to ${MKLROOT}")
include_directories(${MKLROOT}/include)

else()
message(FATAL_ERROR "Wrong platform")
Expand Down

0 comments on commit 5042ec3

Please sign in to comment.