From: maier Date: Wed, 10 Apr 2013 11:25:33 +0000 (+0000) Subject: CMake: Well, yes. Third attempt to fix this rpath thing X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1f2c27b69b69a25fc5eb156ff260d1a82fdda21;p=dealii-svn.git CMake: Well, yes. Third attempt to fix this rpath thing git-svn-id: https://svn.dealii.org/trunk@29243 0785d39b-7218-0410-832d-ea1e28bc413d --- 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()