[brlcad-commits] SF.net SVN: brlcad:[45983] brlcad/trunk/misc/CMake/BRLCAD_Util.cmake
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <sta...@us...> - 2011-08-15 04:24:06
|
Revision: 45983 http://brlcad.svn.sourceforge.net/brlcad/?rev=45983&view=rev Author: starseeker Date: 2011-08-15 03:10:31 +0000 (Mon, 15 Aug 2011) Log Message: ----------- Er, oops - fix default fallback settings for auto_option macro Modified Paths: -------------- brlcad/trunk/misc/CMake/BRLCAD_Util.cmake Modified: brlcad/trunk/misc/CMake/BRLCAD_Util.cmake =================================================================== --- brlcad/trunk/misc/CMake/BRLCAD_Util.cmake 2011-08-15 02:34:04 UTC (rev 45982) +++ brlcad/trunk/misc/CMake/BRLCAD_Util.cmake 2011-08-15 03:10:31 UTC (rev 45983) @@ -67,6 +67,8 @@ # optimization flags, leave them off IF(NOT "${CMAKE_BUILD_TYPE}" MATCHES "Release" AND NOT "${CMAKE_BUILD_TYPE}" MATCHES "Debug") IF(NOT ${${username}} STREQUAL "Auto") + SET(${varname} ${${username}}) + ELSE(NOT ${${username}} STREQUAL "Auto") SET(${varname} OFF) ENDIF(NOT ${${username}} STREQUAL "Auto") ENDIF(NOT "${CMAKE_BUILD_TYPE}" MATCHES "Release" AND NOT "${CMAKE_BUILD_TYPE}" MATCHES "Debug") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |