From 30d658bb3a82f8443a60ad9bdf850af731c4ecfd Mon Sep 17 00:00:00 2001 From: Thomas Applencourt Date: Fri, 18 May 2018 11:58:30 -0500 Subject: [PATCH] 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 dd08d2c05..89773a8b3 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" )