From: maier Date: Wed, 10 Apr 2013 10:27:15 +0000 (+0000) Subject: CMake: Bugfix X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f907a2d316d51b095d203c0ae1995972c1fdf45;p=dealii-svn.git CMake: Bugfix git-svn-id: https://svn.dealii.org/trunk@29241 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/config/CMakeLists.txt b/deal.II/cmake/config/CMakeLists.txt index 7c3a913865..6ea97fa633 100644 --- a/deal.II/cmake/config/CMakeLists.txt +++ b/deal.II/cmake/config/CMakeLists.txt @@ -207,6 +207,7 @@ IF(DEAL_II_COMPONENT_COMPAT_FILES) FOREACH(_path ${_paths}) SET(_rpath "${_rpath}${_path}:") ENDFOREACH() + STRING(REGEX REPLACE ":$" "" _rpath "${_rpath}") TO_STRING(MAKEFILE_LIBS_${build} ${MAKEFILE_LIBS_${build}} ${_rpath})