From 5f16dc4bfea17ce1fc3b13b721b108c8f200f670 Mon Sep 17 00:00:00 2001 From: "Joshua A. Anderson" Date: Mon, 30 Sep 2024 11:43:39 -0400 Subject: [PATCH] Correctly generate compile_commands.json. --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index da5b07a9f4..2a4f219d30 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,8 +7,6 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.15...3.27 FATAL_ERROR) set(CMAKE_FIND_FRAMEWORK LAST) project (HOOMD LANGUAGES C CXX) - -# enlble compile_commands.json output set(CMAKE_EXPORT_COMPILE_COMMANDS ON) include(GNUInstallDirs) @@ -218,7 +216,6 @@ install(FILES CMake/hoomd/FindTBB.cmake DESTINATION ${CONFIG_INSTALL_DIR}) # enable compile_commands.json -set(CMAKE_EXPORT_COMPILE_COMMANDS ON) if (NOT WIN32) file(CREATE_LINK "${CMAKE_BINARY_DIR}/compile_commands.json"