diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2019-08-01 17:03:52 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2019-08-01 17:03:52 +0300 |
commit | 7d25d8c677cc0edbba469e2a54658ed9468efa60 (patch) | |
tree | 9597677d64fa92fa534c62eab627699f044d4f8c /deps/deps-windows.cmake | |
parent | ec9117cc06e5b268d5c5b1170312c922fe3e892b (diff) |
Can build with (original llvm) clang-cl on windows
Diffstat (limited to 'deps/deps-windows.cmake')
-rw-r--r-- | deps/deps-windows.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/deps-windows.cmake b/deps/deps-windows.cmake index 9092f330b..85013fbdd 100644 --- a/deps/deps-windows.cmake +++ b/deps/deps-windows.cmake @@ -19,6 +19,10 @@ else () message(FATAL_ERROR "Unsupported MSVC version") endif () +if (CMAKE_CXX_COMPILER_ID STREQUAL Clang) + set(DEP_BOOST_TOOLSET "clang-win") +endif () + if (${DEPS_BITS} EQUAL 32) set(DEP_MSVC_GEN "Visual Studio ${DEP_VS_VER}") set(DEP_PLATFORM "Win32") |