mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-30 11:27:07 +00:00
Fix FreeBSD build with -DUSE_SHARED_LLVM=off
This commit is contained in:
parent
39d4bbfe67
commit
0780e80f8a
@ -114,6 +114,8 @@ find_package(Threads REQUIRED)
|
|||||||
target_link_libraries(ccls PRIVATE Threads::Threads)
|
target_link_libraries(ccls PRIVATE Threads::Threads)
|
||||||
|
|
||||||
if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD)
|
if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD)
|
||||||
|
find_package(Backtrace REQUIRED)
|
||||||
|
target_link_libraries(ccls PRIVATE ${Backtrace_LIBRARIES})
|
||||||
# src/platform_posix.cc uses libthr
|
# src/platform_posix.cc uses libthr
|
||||||
target_link_libraries(ccls PRIVATE thr)
|
target_link_libraries(ccls PRIVATE thr)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user