[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)
commitb7e415813d2a250ca7478cfeaffa879668905ec7
tree39d3110b1ea9d05845b3291fdc95353fd1a97980
parent411b251ceab9b1a4fb219f60bad2afcff8743941
[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

llvm-svn: 230396
llvm/CMakeLists.txt