mirror of
https://github.com/MaskRay/ccls.git
synced 2025-04-05 16:32:08 +00:00
feat: Add option CLANG_LINK_DYLIB for static build
This commit is contained in:
parent
5a48e6c419
commit
5f16129409
@ -71,7 +71,8 @@ endif()
|
||||
|
||||
find_package(Clang REQUIRED)
|
||||
|
||||
if(CLANG_LINK_CLANG_DYLIB)
|
||||
option(CLANG_LINK_DYLIB ${CLANG_LINK_CLANG_DYLIB})
|
||||
if(CLANG_LINK_DYLIB)
|
||||
target_link_libraries(ccls PRIVATE clang-cpp)
|
||||
else()
|
||||
target_link_libraries(ccls PRIVATE
|
||||
|
Loading…
Reference in New Issue
Block a user