From 0783013ecdfe16c58a817f1a6c9469f1c1ab3577 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Sun, 18 Feb 2018 20:24:27 -0700 Subject: [PATCH] CMake: Custom targets don't need EXCLUDE_FROM_ALL --- cmake/macros/Interrogate.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/macros/Interrogate.cmake b/cmake/macros/Interrogate.cmake index 6f33fb2150..817a2b6cda 100644 --- a/cmake/macros/Interrogate.cmake +++ b/cmake/macros/Interrogate.cmake @@ -176,7 +176,7 @@ function(interrogate_sources target output database language_flags) # this, we create a fake target with the IS_INTERROGATE property set and pull # the INTERFACE_INCLUDE_DIRECTORIES property out through that. # I hate it, but such is CMake. - add_custom_target(${target}_igate_internal EXCLUDE_FROM_ALL) + add_custom_target(${target}_igate_internal) set_target_properties(${target}_igate_internal PROPERTIES IS_INTERROGATE 1 INTERFACE_INCLUDE_DIRECTORIES "$")