Skip to content

Commit

Permalink
CMake: don't export compile commands by default, but if so, ensure in…
Browse files Browse the repository at this point in the history
…clude dirs
  • Loading branch information
Tom94 committed Nov 28, 2024
1 parent 551a4d0 commit f655a65
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ endif()
# Not available until cmake 3.6, but doesn't break older versions.
set_property(DIRECTORY PROPERTY VS_STARTUP_PROJECT tev)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE INTERNAL " ")
if (CMAKE_EXPORT_COMPILE_COMMANDS)
set(CMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES ${CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES})
endif()
Expand Down

0 comments on commit f655a65

Please sign in to comment.