mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
CMake: Custom targets don't need EXCLUDE_FROM_ALL
This commit is contained in:
parent
6907eb5207
commit
0783013ecd
@ -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 "$<TARGET_PROPERTY:${target},INTERFACE_INCLUDE_DIRECTORIES>")
|
||||
|
Loading…
x
Reference in New Issue
Block a user