Revision: 55876
http://sourceforge.net/p/brlcad/code/55876
Author: starseeker
Date: 2013-06-27 13:42:18 +0000 (Thu, 27 Jun 2013)
Log Message:
-----------
have SCL avoid stomping the CMAKE_BUILD_TYPE cash when acting as a subbuild.
Modified Paths:
--------------
brlcad/trunk/src/other/step/CMakeLists.txt
Modified: brlcad/trunk/src/other/step/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/other/step/CMakeLists.txt 2013-06-27 12:21:44 UTC (rev
55875)
+++ brlcad/trunk/src/other/step/CMakeLists.txt 2013-06-27 13:42:18 UTC (rev
55876)
@@ -59,7 +59,9 @@
IF( NOT DEFINED SCL_BUILD_TYPE )
SET( SCL_BUILD_TYPE "Debug" CACHE STRING "Build type" ) # By default set
debug build
ENDIF( NOT DEFINED SCL_BUILD_TYPE )
-SET(CMAKE_BUILD_TYPE ${SCL_BUILD_TYPE} CACHE INTERNAL "Build type, immutable"
FORCE )
+if (NOT IS_SUBBUILD)
+ SET(CMAKE_BUILD_TYPE ${SCL_BUILD_TYPE} CACHE INTERNAL "Build type,
immutable" FORCE )
+endif (NOT IS_SUBBUILD)
# Define helper macro OPTION_WITH_DEFAULT
MACRO( OPTION_WITH_DEFAULT OPTION_NAME OPTION_STRING OPTION_DEFAULT )
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits