[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51464] trunk/blender/CMakeLists.txt: Fix for r51447 (my CMake 2.8.9 did not like it, looks like with quotes it suites it...).
Bastien Montagne
montagne29 at wanadoo.fr
Sat Oct 20 21:36:11 CEST 2012
Revision: 51464
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51464
Author: mont29
Date: 2012-10-20 19:36:08 +0000 (Sat, 20 Oct 2012)
Log Message:
-----------
Fix for r51447 (my CMake 2.8.9 did not like it, looks like with quotes it suites it...).
Revision Links:
--------------
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51447
Modified Paths:
--------------
trunk/blender/CMakeLists.txt
Modified: trunk/blender/CMakeLists.txt
===================================================================
--- trunk/blender/CMakeLists.txt 2012-10-20 18:46:57 UTC (rev 51463)
+++ trunk/blender/CMakeLists.txt 2012-10-20 19:36:08 UTC (rev 51464)
@@ -1863,7 +1863,7 @@
ADD_CHECK_C_COMPILER_FLAG(C_WARNINGS C_WARN_NO_DIV_BY_ZERO -Wno-div-by-zero)
# gcc 4.2 gives annoying warnings on every file with this
- if (${CMAKE_C_COMPILER_VERSION} VERSION_GREATER "4.2")
+ if ("${CMAKE_C_COMPILER_VERSION}" VERSION_GREATER "4.2")
ADD_CHECK_C_COMPILER_FLAG(C_WARNINGS C_WARN_UNINITIALIZED -Wuninitialized)
endif()
@@ -1883,7 +1883,7 @@
ADD_CHECK_CXX_COMPILER_FLAG(CXX_WARNINGS CXX_WARN_NO_DIV_BY_ZERO -Wno-div-by-zero)
# gcc 4.2 gives annoying warnings on every file with this
- if (${CMAKE_C_COMPILER_VERSION} VERSION_GREATER "4.2")
+ if ("${CMAKE_C_COMPILER_VERSION}" VERSION_GREATER "4.2")
ADD_CHECK_CXX_COMPILER_FLAG(CXX_WARNINGS CXX_WARN_UNINITIALIZED -Wuninitialized)
endif()
More information about the Bf-blender-cvs
mailing list