Commit bf7bcc67 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

made installation of `compile_commands.json` optional

Fixes GAUDI-1164.

See merge request !91
parents 4dbdc8e4 782619fa
......@@ -392,7 +392,7 @@ macro(gaudi_project project version)
FILES_MATCHING PATTERN "*.py" PATTERN "*.conf")
if (CMAKE_EXPORT_COMPILE_COMMANDS)
install(FILES ${CMAKE_BINARY_DIR}/compile_commands.json DESTINATION .)
install(FILES ${CMAKE_BINARY_DIR}/compile_commands.json DESTINATION . OPTIONAL)
endif()
#--- Global actions for the project
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment