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:
parent
78bb1d1571
commit
f0d382899c
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
cmake_minimum_required(VERSION 3.12 FATAL_ERROR)
|
cmake_minimum_required(VERSION 3.12 FATAL_ERROR)
|
||||||
include(GNUInstallDirs)
|
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)
|
# Determine if we're built as a subproject (using add_subdirectory)
|
||||||
# or if this is the master project.
|
# or if this is the master project.
|
||||||
|
@ -70,7 +70,7 @@ if (MSVC)
|
||||||
list(APPEND MCL_CXX_FLAGS /WX)
|
list(APPEND MCL_CXX_FLAGS /WX)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (CMAKE_VS_PLATFORM_TOOLSET MATCHES "LLVM-vs[0-9]+")
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||||
list(APPEND MCL_CXX_FLAGS
|
list(APPEND MCL_CXX_FLAGS
|
||||||
-Qunused-arguments
|
-Qunused-arguments
|
||||||
-Wno-missing-braces)
|
-Wno-missing-braces)
|
||||||
|
|
Loading…
Reference in a new issue