mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 02:19:18 -05:00
f6fd0abc5b
When `$<LINK_ONLY:...>` is used outside of linking we may evaluate it without a `dagChecker`. Do not dereference the NULL pointer and issue a diagnostic instead. Closes: #16287
2 lines
86 B
CMake
2 lines
86 B
CMake
add_custom_target(Custom ALL COMMAND ${CMAKE_COMMAND} -E echo $<LINK_ONLY:something>)
|