From a308e5cd2c6769750f8f6b4e486a8e66b591dafe Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 4 Nov 2016 18:39:55 +0100 Subject: cmake/msvc: add -nologo --- cmake/msvc.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmake') diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake index 9a0ffaee..e7e0ced3 100644 --- a/cmake/msvc.cmake +++ b/cmake/msvc.cmake @@ -113,6 +113,6 @@ if((CMAKE_GENERATOR STREQUAL "NMake Makefiles") OR (CMAKE_GENERATOR STREQUAL "NM endif() endforeach() endif() - - set(CMAKE_RC_FLAGS "${CMAKE_RC_FLAGS} -nologo") endif() + +set(CMAKE_RC_FLAGS "-nologo -DWIN32" CACHE STRING "" FORCE) -- cgit v1.2.3