[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43060] trunk/blender/CMakeLists.txt: part of line missing in Jens commit, this fixes compile on non Apple platforms, thanks to Lockal in IRC for pointing it out

Tom Musgrove LetterRip at gmail.com
Sun Jan 1 22:19:50 CET 2012


Revision: 43060
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43060
Author:   letterrip
Date:     2012-01-01 21:19:40 +0000 (Sun, 01 Jan 2012)
Log Message:
-----------
part of line missing in Jens commit, this fixes compile on non Apple platforms, thanks to Lockal in IRC for pointing it out

Modified Paths:
--------------
    trunk/blender/CMakeLists.txt

Modified: trunk/blender/CMakeLists.txt
===================================================================
--- trunk/blender/CMakeLists.txt	2012-01-01 17:26:28 UTC (rev 43059)
+++ trunk/blender/CMakeLists.txt	2012-01-01 21:19:40 UTC (rev 43060)
@@ -1410,7 +1410,7 @@
 	ADD_CHECK_C_COMPILER_FLAG(CC_REMOVE_STRICT_FLAGS C_WARN_NO_UNUSED_PARAMETER        -Wno-unused-parameter)
 
 	if(NOT APPLE)
-		ADD_CHECK_C_COMPILER_FLAG(CC_REMOVE_STRICT_FLAGS C_WARN_NO_UNUSED_BUT_SET_VARIABLE )
+		ADD_CHECK_C_COMPILER_FLAG(CC_REMOVE_STRICT_FLAGS C_WARN_NO_UNUSED_BUT_SET_VARIABLE -Wno-error=unused-but-set-variable)
 	endif()
 
 elseif(CMAKE_C_COMPILER_ID MATCHES "Intel")




More information about the Bf-blender-cvs mailing list