diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-02-18 10:08:24 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-02-23 08:42:06 (GMT) |
commit | d1a2729b1af86a0a3abfb21df18ed85bcfaa59c6 (patch) | |
tree | f859e501fe918d2ada3e2f5cb645e27da0b3d54e /Source/cm_sha2.h | |
parent | e72eaadc42be80ef8273addfc19a6dd13b5feb90 (diff) | |
download | CMake-d1a2729b1af86a0a3abfb21df18ed85bcfaa59c6.zip CMake-d1a2729b1af86a0a3abfb21df18ed85bcfaa59c6.tar.gz CMake-d1a2729b1af86a0a3abfb21df18ed85bcfaa59c6.tar.bz2 |
Fix DAG checker finding cycling dependencies.
Before this patch, the following is reported falsely as a self-reference:
target_link_libraries(empty2 LINK_PUBLIC empty3)
target_link_libraries(empty3 LINK_PUBLIC empty2)
add_custom_target(...
-DINCLUDES=$<TARGET_PROPERTY:empty2,INTERFACE_INCLUDE_DIRECTORIES>
)
The reason is that the existing code assumed that all reading of
include directories would be done through cmTarget::GetIncludeDirectories()
and would therefore be initialized with a DagChecker. That is not the case
if reading the property with an 'external' generator expression.
Diffstat (limited to 'Source/cm_sha2.h')
0 files changed, 0 insertions, 0 deletions