summaryrefslogtreecommitdiffhomepage
path: root/cmake/msvc.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-03-03 21:13:33 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-03-03 21:13:33 +0100
commitc90f8fbd1a83ffeed6b0bb9d55e91f4a4a9b8641 (patch)
tree4cc759cda544ea2c27d9eaebca366ea2efe665ed /cmake/msvc.cmake
parent96257fb0c1c63eb1466787e8ed0437f000d65854 (diff)
cmake: set RC_FLAGS after compiler is detected
Diffstat (limited to 'cmake/msvc.cmake')
-rw-r--r--cmake/msvc.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake
index c77be83b..8bf431b9 100644
--- a/cmake/msvc.cmake
+++ b/cmake/msvc.cmake
@@ -29,10 +29,6 @@ add_definitions(-diagnostics:caret)
#add_compile_options(-Qvec-report:2)
#add_compile_options(-d2cgsummary)
-if(NOT CMAKE_RC_FLAGS)
- set(CMAKE_RC_FLAGS "/nologo /DWIN32")
-endif()
-
if(CMAKE_PROJECT_NAME STREQUAL "opentrack")
include("${CMAKE_CURRENT_LIST_DIR}/opentrack-policy.cmake" NO_POLICY_SCOPE)