From 12e4c52c5afcef1f110614e442586c65e54c97b8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 22 Feb 2011 06:23:07 +0000 Subject: cmake was using dna source list with the variable out of scope, possibly causing dependency problems. --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index ce881f24e97..6ce17f5d88b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) -- cgit v1.2.3