Skip to content

Commit

Permalink
fix: add system includes to compile_commands.json
Browse files Browse the repository at this point in the history
fixes LSP on systems with multiple compilers
  • Loading branch information
patrislav1 committed Sep 16, 2024
1 parent 04c8a57 commit 07c857e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ add_definitions(-DBOOST_LOG_DYN_LINK)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES ${CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES})

# library
file(GLOB SOURCES "src/*.cpp")
Expand Down

0 comments on commit 07c857e

Please sign in to comment.