From 719e2c9c90b9ab6e20709a10487ae3e3831a55c8 Mon Sep 17 00:00:00 2001 From: Ye Luo Date: Fri, 18 May 2018 12:58:32 -0500 Subject: [PATCH] Revert "Spurious comma in FindMKL" --- CMake/FindMKL.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMake/FindMKL.cmake b/CMake/FindMKL.cmake index 89773a8b3..dd08d2c05 100644 --- a/CMake/FindMKL.cmake +++ b/CMake/FindMKL.cmake @@ -37,7 +37,7 @@ if ( NOT CMAKE_CXX_COMPILER_ID MATCHES "Intel" ) endif (MKL_INCLUDE_DIRECTORIES-NOTFOUND) message("MKL_INCLUDE_DIRECTORIES: ${MKL_INCLUDE_DIRECTORIES}") - set(MKL_LINKER_FLAGS "-L${MKL_LINK_DIRECTORIES} -Wl,-rpath ${MKL_LINK_DIRECTORIES}") + set(MKL_LINKER_FLAGS "-L${MKL_LINK_DIRECTORIES} -Wl,-rpath,${MKL_LINK_DIRECTORIES}") set(MKL_FLAGS "-I${MKL_INCLUDE_DIRECTORIES}") set(MKL_LIBRARIES "-lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl") else ( NOT CMAKE_CXX_COMPILER_ID MATCHES "Intel" )