From d1f2c27b69b69a25fc5eb156ff260d1a82fdda21 Mon Sep 17 00:00:00 2001 From: maier Date: Wed, 10 Apr 2013 11:25:33 +0000 Subject: [PATCH] CMake: Well, yes. Third attempt to fix this rpath thing git-svn-id: https://svn.dealii.org/trunk@29243 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/config/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/cmake/config/CMakeLists.txt b/deal.II/cmake/config/CMakeLists.txt index c9deacff93..02780e6ed2 100644 --- a/deal.II/cmake/config/CMakeLists.txt +++ b/deal.II/cmake/config/CMakeLists.txt @@ -193,7 +193,7 @@ IF(DEAL_II_COMPONENT_COMPAT_FILES) # # Extract library paths where possible: # - IF(_lib MATCHES "^/") + IF(_lib MATCHES "^(/|\\$\\(D\\))") GET_FILENAME_COMPONENT(_path ${_lib} PATH) LIST(APPEND _paths ${_path}) ENDIF() -- 2.39.5