diff options
-rw-r--r-- | cmake/msvc.cmake | 2 | ||||
-rw-r--r-- | cmake/opentrack-platform.cmake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake index f29800a3..9136e2eb 100644 --- a/cmake/msvc.cmake +++ b/cmake/msvc.cmake @@ -72,7 +72,7 @@ set(_LDFLAGS_STATIC "-machine:X86 -WX") set(_LDFLAGS_STATIC_RELEASE "-LTCG:INCREMENTAL") set(_LDFLAGS_STATIC_DEBUG "") -set(CMAKE_RC_FLAGS "-nologo -DWIN32") +set(CMAKE_RC_FLAGS "/nologo -DWIN32") set(new-__otr_already_initialized "_${cc}_${base-cflags}_") if(NOT "${__otr_already_initialized}" STREQUAL "${new-__otr_already_initialized}") diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake index b977c5d8..e7849434 100644 --- a/cmake/opentrack-platform.cmake +++ b/cmake/opentrack-platform.cmake @@ -67,7 +67,7 @@ if(MSVC) if(NOT CMAKE_COMPILER_IS_CLANG) if(MSVC_VERSION GREATER 1909) # visual studio 2017 - set(__stuff "-permissive- -diagnostics:caret -Qvec-report:1") + set(__stuff "-permissive- -Qvec-report:1") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${__stuff}") set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} ${__stuff}") endif() |