From: Matthias Maier Date: Wed, 10 Apr 2013 11:25:33 +0000 (+0000) Subject: CMake: Well, yes. Third attempt to fix this rpath thing X-Git-Tag: v8.0.0~735 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=818b2c3642b3a9bf016aa8a3f785a7e8aaeda761;p=dealii.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()