634bb33f3a
We can do this check only if the TargetName is non-empty, which means that we're evaluating INTERFACE_INCLUDE_DIRECTORIES from a linked dependency which was set using target_link_libraries. It is possible to have relative paths in INCLUDE_DIRECTORIES already in CMake 2.8.10.2, so that part will require a policy to fix.
11 lines
265 B
CMake
11 lines
265 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(NotFoundContent)
|
|
run_cmake(DebugIncludes)
|
|
run_cmake(TID-bad-target)
|
|
run_cmake(SourceDirectoryInInterface)
|
|
run_cmake(BinaryDirectoryInInterface)
|
|
run_cmake(RelativePathInInterface)
|
|
run_cmake(ImportedTarget)
|
|
run_cmake(RelativePathInGenex)
|