diff options
author | Craig Scott <craig.scott@crascit.com> | 2018-09-12 06:50:16 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2018-09-12 06:50:16 (GMT) |
commit | 8ede35523e6e3b6d562d30a3df7780b66bdbd971 (patch) | |
tree | 6d0f21b4b5e7787c117f86b11b4ea79c0aa18758 /Modules/CSharpUtilities.cmake | |
parent | e549e31f798b05345de5a36f876197b595296eb4 (diff) | |
download | CMake-8ede35523e6e3b6d562d30a3df7780b66bdbd971.zip CMake-8ede35523e6e3b6d562d30a3df7780b66bdbd971.tar.gz CMake-8ede35523e6e3b6d562d30a3df7780b66bdbd971.tar.bz2 |
IN_LIST: Ensure policy allows if(IN_LIST) if used by a module
Diffstat (limited to 'Modules/CSharpUtilities.cmake')
-rw-r--r-- | Modules/CSharpUtilities.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/CSharpUtilities.cmake b/Modules/CSharpUtilities.cmake index e9e1510..6a4b5c7 100644 --- a/Modules/CSharpUtilities.cmake +++ b/Modules/CSharpUtilities.cmake @@ -184,6 +184,9 @@ Helper functions which are used by the above ones #]=======================================================================] +cmake_policy(PUSH) +cmake_policy(SET CMP0057 NEW) # if IN_LIST + function(csharp_get_filename_keys OUT) set(${OUT} "") foreach(f ${ARGN}) @@ -304,3 +307,5 @@ function(csharp_set_xaml_cs_properties) endif() endforeach() endfunction() + +cmake_policy(POP) |