summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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)