mirror of
https://github.com/libAthena/athena.git
synced 2025-07-03 03:36:04 +00:00
Wrap CMP0116 in CMAKE_VERSION check
This commit is contained in:
parent
f52a7015b7
commit
c776c4a31d
@ -3,8 +3,10 @@
|
|||||||
# across all dependencies.
|
# across all dependencies.
|
||||||
#
|
#
|
||||||
|
|
||||||
# CMake 3.20: Don't transform add_custom_command DEPFILE for Ninja
|
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.20")
|
||||||
cmake_policy(SET CMP0116 OLD)
|
# Don't transform add_custom_command DEPFILE for Ninja
|
||||||
|
cmake_policy(SET CMP0116 OLD)
|
||||||
|
endif ()
|
||||||
|
|
||||||
function(_atdna_gather_include_directories_impl target_name)
|
function(_atdna_gather_include_directories_impl target_name)
|
||||||
get_target_property(target_dependencies ${target_name} INTERFACE_LINK_LIBRARIES)
|
get_target_property(target_dependencies ${target_name} INTERFACE_LINK_LIBRARIES)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user