mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 23:01:04 +08:00
Make including Clang optional
I include libzmq in my cmake project, and I don't want clang-related targets popping up in Visual Studio's solution explorer.
This commit is contained in:
parent
efaeec33fc
commit
c89390f0f5
@ -1751,7 +1751,10 @@ if(MSVC_VERSION EQUAL 1600)
|
||||
endif()
|
||||
|
||||
# this cannot be moved, as it does not only contain function/macro definitions
|
||||
include(ClangFormat)
|
||||
option(ENABLE_CLANG "Include Clang" ON)
|
||||
if (ENABLE_CLANG)
|
||||
include(ClangFormat)
|
||||
endif()
|
||||
|
||||
# fixes https://github.com/zeromq/libzmq/issues/3776 The problem is, both libzmq-static libzmq try to use/generate
|
||||
# precompiled.pch at the same time Add a dependency, so they run in order and so they dont get in each others way TODO
|
||||
|
Loading…
x
Reference in New Issue
Block a user