diff --git a/cmake/ExportCompileCommands.cmake b/cmake/ExportCompileCommands.cmake index 5c904f5..5db8897 100644 --- a/cmake/ExportCompileCommands.cmake +++ b/cmake/ExportCompileCommands.cmake @@ -1,4 +1,6 @@ -set(CMAKE_EXPORT_COMPILE_COMMANDS ON) +set(CMAKE_EXPORT_COMPILE_COMMANDS + ON + CACHE BOOL "Export compile commands database") if(CMAKE_EXPORT_COMPILE_COMMANDS) set(CMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES