Skip to content

Commit

Permalink
[libshortfin] Add CMAKE_EXPORT_COMPILE_COMMANDS to CMakeLists.txt (#194)
Browse files Browse the repository at this point in the history
LSP relying on clangd needs this
  • Loading branch information
Groverkss authored Sep 18, 2024
1 parent 2e646fb commit ad2ae40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libshortfin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 20)
# https://discourse.cmake.org/t/cmake-3-28-cmake-cxx-compiler-clang-scan-deps-notfound-not-found/9244/3
set(CMAKE_CXX_SCAN_FOR_MODULES 0)
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)

# Problems with linking libfmt without PIC.
# Turn on PIC on non windows targets.
Expand Down

0 comments on commit ad2ae40

Please sign in to comment.