diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-02-11 16:41:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-02-12 16:17:38 (GMT) |
commit | c248a437c47b4419fd955d4b1f406f7c8b9dcd74 (patch) | |
tree | 37a953da5b8130fdde1e36e9c731930c161fd896 /Tests/RunCMake/CMP0049/CMP0049-OLD.cmake | |
parent | 418a155be7e44117297c072b6aa0f21f4407c052 (diff) | |
download | CMake-c248a437c47b4419fd955d4b1f406f7c8b9dcd74.zip CMake-c248a437c47b4419fd955d4b1f406f7c8b9dcd74.tar.gz CMake-c248a437c47b4419fd955d4b1f406f7c8b9dcd74.tar.bz2 |
Add policy CMP0049 to avoid variable expansion in source lists
Diffstat (limited to 'Tests/RunCMake/CMP0049/CMP0049-OLD.cmake')
-rw-r--r-- | Tests/RunCMake/CMP0049/CMP0049-OLD.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0049/CMP0049-OLD.cmake b/Tests/RunCMake/CMP0049/CMP0049-OLD.cmake new file mode 100644 index 0000000..ae6fd3b --- /dev/null +++ b/Tests/RunCMake/CMP0049/CMP0049-OLD.cmake @@ -0,0 +1,5 @@ + +cmake_policy(SET CMP0049 OLD) + +set(tgt_srcs empty.cpp) +add_library(tgt \${tgt_srcs}) |