diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-01-30 16:49:47 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-01-31 16:27:06 (GMT) |
commit | df4d2b28b24a3172daf1290070199633f7c46cf0 (patch) | |
tree | 855ffcc38839088c1571988199461e1959f99cb2 /Tests/RunCMake/GeneratorExpression/BadInstallPrefix.cmake | |
parent | 7ceeba992b4fb35ca05760b3170e68f41dfc1bb5 (diff) | |
download | CMake-df4d2b28b24a3172daf1290070199633f7c46cf0.zip CMake-df4d2b28b24a3172daf1290070199633f7c46cf0.tar.gz CMake-df4d2b28b24a3172daf1290070199633f7c46cf0.tar.bz2 |
Make it an error for INSTALL_PREFIX to be evaluated.
An empty string is not likely going to produce expected results
in any evaluation context. It is replaced by preprocessing
currently.
Diffstat (limited to 'Tests/RunCMake/GeneratorExpression/BadInstallPrefix.cmake')
-rw-r--r-- | Tests/RunCMake/GeneratorExpression/BadInstallPrefix.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/GeneratorExpression/BadInstallPrefix.cmake b/Tests/RunCMake/GeneratorExpression/BadInstallPrefix.cmake new file mode 100644 index 0000000..fcfc3eb --- /dev/null +++ b/Tests/RunCMake/GeneratorExpression/BadInstallPrefix.cmake @@ -0,0 +1,3 @@ +add_custom_target(check ALL COMMAND check + $<INSTALL_PREFIX>/include + VERBATIM) |