diff options
Diffstat (limited to 'cmake/msvc.cmake')
-rw-r--r-- | cmake/msvc.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake index aed0fcd9..c8edd1fd 100644 --- a/cmake/msvc.cmake +++ b/cmake/msvc.cmake @@ -19,7 +19,7 @@ set(cc "${cc} -bigobj") set(warns_ "") -set(warns-disable 4530 4577 4789 4244 4702 4530 4244 4127 4458 4456 4251) +set(warns-disable 4530 4577 4789 4244 4702 4530 4244 4127 4458 4456 4251 4100) foreach(i ${warns-disable}) set(warns_ "${warns_} -wd${i}") @@ -69,9 +69,9 @@ if(NOT __otr_already_initialized OR "$ENV{OTR_REDO}") set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "" FORCE) set(CMAKE_BUILD_TYPE "RELEASE" CACHE STRING "" FORCE) - set(CMAKE_STATIC_LINKER_FLAGS "${_LDFLAGS_STATIC} ${CMAKE_STATIC_LINKER_FLAGS}" CACHE STRING "" FORCE) - set(CMAKE_STATIC_LINKER_FLAGS_RELEASE "${_LDFLAGS_STATIC_RELEASE} ${CMAKE_STATIC_LINKER_FLAGS_RELEASE}" CACHE STRING "" FORCE) - set(CMAKE_STATIC_LINKER_FLAGS_DEBUG "${_LDFLAGS_STATIC_DEBUG} ${CMAKE_STATIC_LINKER_FLAGS_DEBUG}" CACHE STRING "" FORCE) + set(CMAKE_STATIC_LINKER_FLAGS "${_LDFLAGS_STATIC}" CACHE STRING "" FORCE) + set(CMAKE_STATIC_LINKER_FLAGS_RELEASE "${_LDFLAGS_STATIC_RELEASE}" CACHE STRING "" FORCE) + set(CMAKE_STATIC_LINKER_FLAGS_DEBUG "${_LDFLAGS_STATIC_DEBUG}" CACHE STRING "" FORCE) foreach(j C CXX) foreach(i "" _DEBUG _RELEASE) |