Set CMake 3.20 CMP0116 policy

This commit is contained in:
Luke Street 2021-03-30 21:27:40 -04:00
parent 165a8803dc
commit 2e880ba98b
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@
# across all dependencies.
#
# CMake 3.20: Transform add_custom_command DEPFILE for Ninja
cmake_policy(SET CMP0116 NEW)
function(_atdna_gather_include_directories_impl target_name)
get_target_property(target_dependencies ${target_name} INTERFACE_LINK_LIBRARIES)
foreach(dep ${target_dependencies})