From df58209e836c7a10a971b6e737c23642e72db4e6 Mon Sep 17 00:00:00 2001 From: Andrew Nelless Date: Thu, 9 Feb 2017 16:14:14 +0000 Subject: [PATCH] Remove /FR from Windows build --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f0540012..a9fb36f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -321,11 +321,10 @@ set(OPENSSL_INCLUDE ${OPENSSL_BASE_DIR}/include) if (WIN32) # TODO: consider using /analyze to uncover potential bugs in the source code. - # /FR - generate browse information (ncb files) useful for using IDE. # /MP - use multi cores to compile. # /D _BIND_TO_CURRENT_VCLIBS_VERSION - TODO: explain why. # /D _SECURE_SCL=1 - find bugs with iterators. - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /FR /MP /D _BIND_TO_CURRENT_VCLIBS_VERSION=1 /D _SECURE_SCL=1") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP /D _BIND_TO_CURRENT_VCLIBS_VERSION=1 /D _SECURE_SCL=1") # /MD - use multi-core libraries. # /O2 - get the fastest code.