diff options
author | Brad King <brad.king@kitware.com> | 2017-09-27 11:12:09 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-09-27 11:14:17 (GMT) |
commit | f75ac39692a3ec81f0e553dc4fa72c1b7f4165e7 (patch) | |
tree | 5f73dc27ca51da5656522e664143d649fa5dece5 /Tests | |
parent | c4d0939fba384bbaf854c21a5c22ae7c24659ee8 (diff) | |
parent | df965cb9638d589be55daa520c13df32e1afd91d (diff) | |
download | CMake-f75ac39692a3ec81f0e553dc4fa72c1b7f4165e7.zip CMake-f75ac39692a3ec81f0e553dc4fa72c1b7f4165e7.tar.gz CMake-f75ac39692a3ec81f0e553dc4fa72c1b7f4165e7.tar.bz2 |
Merge topic 'ninja-rc-depfile-quoting'
df965cb9 Ninja: Fix quoting of RC language depfile in cmcldeps call
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1309
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/VSResource/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/VSResource/CMakeLists.txt b/Tests/VSResource/CMakeLists.txt index 718e624..fb47c7e 100644 --- a/Tests/VSResource/CMakeLists.txt +++ b/Tests/VSResource/CMakeLists.txt @@ -56,3 +56,10 @@ endif() set_property(TARGET VSResource PROPERTY VS_GLOBAL_CMakeTestVsGlobalVariable "test val") + +if(CMAKE_GENERATOR MATCHES "Ninja|Visual Studio") + cmake_policy(PUSH) + cmake_policy(SET CMP0037 OLD) + add_library("My ResourceLib" lib.cpp lib.rc) + cmake_policy(POP) +endif() |