Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2012-10-20 23:36:08 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-10-20 23:36:08 +0400
commitc1b39d346169600efd050a28d7a650a6a1fc1b74 (patch)
tree21a3489298f18bebbd3aae2152989bbc10ccba38 /CMakeLists.txt
parentbc8f602601ddbbadb30872eaa83ef5cf80fbe322 (diff)
Fix for r51447 (my CMake 2.8.9 did not like it, looks like with quotes it suites it...).
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 058da2d40b4..c4d0dda945a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1863,7 +1863,7 @@ if(CMAKE_COMPILER_IS_GNUCC)
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 @@ if(CMAKE_COMPILER_IS_GNUCC)
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()