]> granicus.if.org Git - llvm/commit
build: enable CMake policy 0077
authorSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 21 May 2019 20:28:32 +0000 (20:28 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 21 May 2019 20:28:32 +0000 (20:28 +0000)
commit15218adbdda2b48283f27aade7117f5e2529193f
treebf7fc0658badc73ec5a531a48602797853b89316
parent38b839d6c798f73068e7d099c097839290100951
build: enable CMake policy 0077

Enable CMake policy 77. This alters the behavior of option. The old behavior
would remove the value of the option from the cache and create a new one. The
new behavior does not create the variable if it is defined already. This ensures
that subsequent reconfigures will behave identically. This seems better than the
setting of OLD - the desire is to ensure that it is set to OLD or NEW.

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