From: <ai...@us...> - 2013-12-18 02:14:30
|
Revision: 12877 http://sourceforge.net/p/plplot/code/12877 Author: airwin Date: 2013-12-18 02:14:25 +0000 (Wed, 18 Dec 2013) Log Message: ----------- Refine the filter_rpath function a little more by removing empty elements from the rpath list. Modified Paths: -------------- trunk/cmake/modules/plplot_functions.cmake Modified: trunk/cmake/modules/plplot_functions.cmake =================================================================== --- trunk/cmake/modules/plplot_functions.cmake 2013-12-17 22:45:28 UTC (rev 12876) +++ trunk/cmake/modules/plplot_functions.cmake 2013-12-18 02:14:25 UTC (rev 12877) @@ -201,7 +201,9 @@ #message("DEBUG: ${rpath} = ${${rpath}}") set(internal_rpath ${${rpath}}) if(internal_rpath) + # Remove duplicates and empty elements. list(REMOVE_DUPLICATES internal_rpath) + list(REMOVE_ITEM internal_rpath "") set(directories_to_be_removed ${CMAKE_C_IMPLICIT_LINK_DIRECTORIES} ${CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |