summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-27 12:54:19 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-27 16:43:00 +0200
commitb2a11095a24d66c193784aba4455daca0dd90c96 (patch)
treef79f9d7f657e7a754b6b63b1339f9385a101a84a /cmake
parent9ec6940426d61a7c34758d6508dcd26599d9ab09 (diff)
cmake/msvc: fix .sln build
Diffstat (limited to 'cmake')
-rw-r--r--cmake/msvc.cmake2
-rw-r--r--cmake/opentrack-platform.cmake2
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()