Squashed 'externals/mcl/' changes from 0172df743..7f357b571

7f357b571 mcl: 0.1.12
9e6107f56 CMakeLists: Fix building with MSVC-clang toolset

git-subtree-dir: externals/mcl
git-subtree-split: 7f357b571fcabecc959884b6b08d3b663d32ea93
This commit is contained in:
Merry 2022-12-28 19:30:34 +00:00
parent 78bb1d1571
commit f0d382899c

View file

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.12 FATAL_ERROR)
include(GNUInstallDirs)
project(mcl LANGUAGES CXX VERSION 0.1.11)
project(mcl LANGUAGES CXX VERSION 0.1.12)
# Determine if we're built as a subproject (using add_subdirectory)
# or if this is the master project.
@ -70,7 +70,7 @@ if (MSVC)
list(APPEND MCL_CXX_FLAGS /WX)
endif()
if (CMAKE_VS_PLATFORM_TOOLSET MATCHES "LLVM-vs[0-9]+")
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
list(APPEND MCL_CXX_FLAGS
-Qunused-arguments
-Wno-missing-braces)