[CMake] Set policy CMP0051 to OLD globally.
authorZachary Turner <zturner@google.com>
Tue, 24 Feb 2015 23:32:47 +0000 (23:32 +0000)
committerZachary Turner <zturner@google.com>
Tue, 24 Feb 2015 23:32:47 +0000 (23:32 +0000)
commitaf2092060cf7092f077a20e4b67214523bdb026a
tree6a24f030b68f48cc6321665586b1b0eaa600556f
parent0bf03cb47380bf9bea4e738b7b5f2ded56eb335b
[CMake] Set policy CMP0051 to OLD globally.

When you use generator expressions in a library sources list,
and then later access the SOURCES property, the OLD behavior
(CMake 3.0 and earlier) would not include these expressions in
the SOURCES property.  The NEW behavior (starting in CMake 3.1)
is that they do include the generator expressions in the SOURCES
property.

Differential Revision: http://reviews.llvm.org/D7870
Reviewed By: Chris Bieneman

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