diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-22 09:23:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-22 09:23:07 +0300 |
commit | 12e4c52c5afcef1f110614e442586c65e54c97b8 (patch) | |
tree | d56f555959fac023a24fb086eec37185449881d8 /CMakeLists.txt | |
parent | d13470ba72e4d50f3f9d0d12b0601de3aa6fd333 (diff) |
cmake was using dna source list with the variable out of scope, possibly causing dependency problems.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
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) |