cmake was using dna source list with the variable out of scope, possibly causing dependency problems.

This commit is contained in:
Campbell Barton
2011-02-22 06:23:07 +00:00
parent d13470ba72
commit 12e4c52c5a
5 changed files with 72 additions and 64 deletions

View 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)