mirror of
https://github.com/facebook/sapling.git
synced 2024-09-11 10:36:52 +03:00
Remove CompilerSettingsUnix from Windows builds
Summary: CompilerSettingsUnix adds /Wextra and other compiler flags which will error when building with Visual studio. Reviewed By: chadaustin Differential Revision: D15536742 fbshipit-source-id: af842f6ad50833f29fbfb602cdf793d0c4de11a9
This commit is contained in:
parent
5a59af8ae9
commit
9b8dac57e5
@ -1,3 +1,10 @@
|
||||
# Copyright (c) 2019-present, Facebook, Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the BSD-style license found in the
|
||||
# LICENSE file in the root directory of this source tree. An additional grant
|
||||
# of patent rights can be found in the PATENTS file in the same directory.
|
||||
|
||||
cmake_minimum_required(VERSION 3.1.3 FATAL_ERROR)
|
||||
# We use the GoogleTest module if it is available (only in CMake 3.9+)
|
||||
# It requires CMP0054 and CMP0057 to be enabled.
|
||||
@ -38,7 +45,10 @@ else()
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
include(CompilerSettingsUnix)
|
||||
|
||||
if (NOT WIN32)
|
||||
include(CompilerSettingsUnix)
|
||||
endif()
|
||||
include(EdenConfigChecks)
|
||||
include(ThriftCppLibrary)
|
||||
include(FBMercurialFeatures)
|
||||
|
Loading…
Reference in New Issue
Block a user