diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-03-03 21:13:33 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-03-03 21:13:33 +0100 |
commit | c90f8fbd1a83ffeed6b0bb9d55e91f4a4a9b8641 (patch) | |
tree | 4cc759cda544ea2c27d9eaebca366ea2efe665ed /cmake/opentrack-platform.cmake | |
parent | 96257fb0c1c63eb1466787e8ed0437f000d65854 (diff) |
cmake: set RC_FLAGS after compiler is detected
Diffstat (limited to 'cmake/opentrack-platform.cmake')
-rw-r--r-- | cmake/opentrack-platform.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake index a76da8b5..24f0f977 100644 --- a/cmake/opentrack-platform.cmake +++ b/cmake/opentrack-platform.cmake @@ -116,6 +116,8 @@ if(MINGW) endif() if(MSVC) + set(CMAKE_RC_FLAGS "/nologo /DWIN32") + add_definitions(-DNOMINMAX) add_definitions(-DWIN32_LEAN_AND_MEAN) add_definitions(-D_CRT_SECURE_NO_WARNINGS) |