diff options
author | Young Jin Kim <youki@microsoft.com> | 2019-06-26 21:36:02 +0300 |
---|---|---|
committer | Young Jin Kim <youki@microsoft.com> | 2019-06-26 21:36:02 +0300 |
commit | d3c6e5f2bca5c14cdd5b81a0ac39ddabac085dc0 (patch) | |
tree | 0648883afca589a757f3101f86ba68acef4db8cc /cmake | |
parent | 2672b085d700887d3db0bbbdfe6ee2e86e7b39e9 (diff) |
Add some more comments and change variable names
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindMKL.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cmake/FindMKL.cmake b/cmake/FindMKL.cmake index 028161e3..a484e9ab 100644 --- a/cmake/FindMKL.cmake +++ b/cmake/FindMKL.cmake @@ -53,11 +53,11 @@ else() set(COR_LIB "mkl_core") endif() -if(MSVC)
- set(ProgramFilesx86 "ProgramFiles(x86)")
- set(INTEL_ROOT_DEFAULT $ENV{${ProgramFilesx86}}/IntelSWTools/compilers_and_libraries/windows)
-else()
- set(INTEL_ROOT_DEFAULT "/opt/intel")
+if(MSVC) + set(ProgramFilesx86 "ProgramFiles(x86)") + set(INTEL_ROOT_DEFAULT $ENV{${ProgramFilesx86}}/IntelSWTools/compilers_and_libraries/windows) +else() + set(INTEL_ROOT_DEFAULT "/opt/intel") endif() set(INTEL_ROOT ${INTEL_ROOT_DEFAULT} CACHE PATH "Folder contains intel libs") find_path(MKL_ROOT include/mkl.h PATHS $ENV{MKLROOT} ${INTEL_ROOT}/mkl |