]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
CMake: Well, yes. Third attempt to fix this rpath thing
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 10 Apr 2013 11:25:33 +0000 (11:25 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 10 Apr 2013 11:25:33 +0000 (11:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@29243 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/config/CMakeLists.txt

index c9deacff93666fabc18ec653e2e6a29d874eb457..02780e6ed275df03ad692c4c7e14bad16a2d8559 100644 (file)
@@ -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()

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.