cmake was using dna source list with the variable out of scope, possibly causing...
[blender.git] / CMakeLists.txt
index ce881f24e970cab61548e7fee2ea9c52c4998349..6ce17f5d88bce0ec69efdc48a593e138713d758b 100644 (file)
@@ -161,9 +161,17 @@ endif()
 
 TEST_SSE_SUPPORT()
 
+#-----------------------------------------------------------------------------
+# Initialize un-cached vars, avoid unused warning
+
 # linux only, not cached
 set(WITH_BINRELOC OFF)
 
+# these are added to later on.
+set(C_WARNINGS "")
+set(CXX_WARNINGS "")
+
+
 # disabled for now, not supported
 # option(WITH_WEBPLUGIN     "Enable Web Plugin (Unix only)" OFF)