CMake config: Enable generation of compile_commands.json

This commit is contained in:
Jochen Topf 2026-07-24 14:51:49 +02:00
parent 9eddf3d1f8
commit eda1580ce9
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.10)
project(osmpbf VERSION 1.5.0)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
include(GNUInstallDirs)
# This is needed for the protobuf_generate_cpp() function to work on newer