summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-11-04 18:39:55 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-11-04 19:48:09 +0100
commita308e5cd2c6769750f8f6b4e486a8e66b591dafe (patch)
tree30248dc0f9b135878f5b1132571b7b957b644d44
parenta7136a69d1f12c2783c96674c27f5899eb916bc6 (diff)
cmake/msvc: add -nologo
-rw-r--r--cmake/msvc.cmake4
1 files changed, 2 insertions, 2 deletions
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)