Cmake fix for option defaults not being set correctly on first run
authorOscar Fuentes <ofv@wanadoo.es>
Tue, 1 Mar 2011 22:31:19 +0000 (22:31 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Tue, 1 Mar 2011 22:31:19 +0000 (22:31 +0000)
commitd9f574b724a208ec38761e250d83fcc2480e685c
tree9daaa9389560566720d793a2771ae3304e07eba4
parent7ee42e6a28784dcf6a6fa25c776362044eea6a91
Cmake fix for option defaults not being set correctly on first run

On the first cmake run before the caches has been updated with the
default options, options defined after HandleLLVMOptions are always
treated as off inside HandleLLVMOptions.

Patch by Erik Olofsson!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126790 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt