summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ExportCompileCommands/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-11-20 14:45:14 (GMT)
committerBrad King <brad.king@kitware.com>2020-11-20 14:45:14 (GMT)
commit67e2130c963bb3d9d437f00f5d6b8e95d2f5fb18 (patch)
tree56c0932de6d8ab4f49ae293a9a73bda85e7a3c87 /Tests/RunCMake/ExportCompileCommands/RunCMakeTest.cmake
parent1d1d78bbe1ed7113927fd0dd078741de3c722b14 (diff)
downloadCMake-67e2130c963bb3d9d437f00f5d6b8e95d2f5fb18.zip
CMake-67e2130c963bb3d9d437f00f5d6b8e95d2f5fb18.tar.gz
CMake-67e2130c963bb3d9d437f00f5d6b8e95d2f5fb18.tar.bz2
Makefiles: Fix CMAKE_EXPORT_COMPILE_COMMANDS crash with custom compile rule
Fixes: #21471
Diffstat (limited to 'Tests/RunCMake/ExportCompileCommands/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/ExportCompileCommands/RunCMakeTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/ExportCompileCommands/RunCMakeTest.cmake b/Tests/RunCMake/ExportCompileCommands/RunCMakeTest.cmake
index b540a04..9e7e732 100644
--- a/Tests/RunCMake/ExportCompileCommands/RunCMakeTest.cmake
+++ b/Tests/RunCMake/ExportCompileCommands/RunCMakeTest.cmake
@@ -1,3 +1,4 @@
include(RunCMake)
run_cmake_with_options(BeforeProject -DCMAKE_PROJECT_INCLUDE_BEFORE=BeforeProjectBEFORE.cmake)
+run_cmake(CustomCompileRule)