diff options
author | Brad King <brad.king@kitware.com> | 2017-06-22 13:52:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-06-22 13:52:28 (GMT) |
commit | c8ee5dbc0c9745ee6dadc1c18483a127bebd7962 (patch) | |
tree | b4cda3e1aa3bab93314918ca95130f088e9c3c6b /Tests | |
parent | 5ba09a75a25f0876596af39fa32eff69cc44e1d6 (diff) | |
parent | 974f43338b09e6ae4342015e2cc088d751943cb0 (diff) | |
download | CMake-c8ee5dbc0c9745ee6dadc1c18483a127bebd7962.zip CMake-c8ee5dbc0c9745ee6dadc1c18483a127bebd7962.tar.gz CMake-c8ee5dbc0c9745ee6dadc1c18483a127bebd7962.tar.bz2 |
Merge branch 'vs-rc-flags' into release-3.9
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/VSResource/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/VSResource/CMakeLists.txt b/Tests/VSResource/CMakeLists.txt index ee660ed..718e624 100644 --- a/Tests/VSResource/CMakeLists.txt +++ b/Tests/VSResource/CMakeLists.txt @@ -50,5 +50,9 @@ add_library(ResourceLib STATIC lib.cpp lib.rc) add_executable(VSResource main.cpp test.rc) target_link_libraries(VSResource ResourceLib) +if(MSVC AND NOT MSVC_VERSION VERSION_LESS 1600) + set_property(SOURCE test.rc PROPERTY COMPILE_FLAGS /nologo) +endif() + set_property(TARGET VSResource PROPERTY VS_GLOBAL_CMakeTestVsGlobalVariable "test val") |