|
From: <ai...@us...> - 2013-10-21 01:11:38
|
Revision: 12614
http://sourceforge.net/p/plplot/code/12614
Author: airwin
Date: 2013-10-21 01:11:34 +0000 (Mon, 21 Oct 2013)
Log Message:
-----------
Fix recently introduced CFLAGS processing logic for case when CFLAGS is not defined as an
environment variable or is empty.
Modified Paths:
--------------
trunk/cmake/build_projects/shapelib/bp.cmake
Modified: trunk/cmake/build_projects/shapelib/bp.cmake
===================================================================
--- trunk/cmake/build_projects/shapelib/bp.cmake 2013-10-21 01:04:03 UTC (rev 12613)
+++ trunk/cmake/build_projects/shapelib/bp.cmake 2013-10-21 01:11:34 UTC (rev 12614)
@@ -49,7 +49,7 @@
set(${BP_PACKAGE}_CFLAGS $ENV{CFLAGS})
# Eliminate this option which is not allowed for shapelib
-string(REGEX REPLACE "-fvisibility=hidden" "" ${BP_PACKAGE}_CFLAGS ${${BP_PACKAGE}_CFLAGS})
+string(REGEX REPLACE "-fvisibility=hidden" "" ${BP_PACKAGE}_CFLAGS "${${BP_PACKAGE}_CFLAGS}")
ExternalProject_Add(
build_${BP_PACKAGE}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|