CMake/Tests/CMakeCommands
Stephen Kelly 38afc82e76 target_include_directories: Allow relative path with genex
Treat paths which are relative and which contain a generator
expression which is not at the beginning as relative to the
source directory.

This matches the behavior of paths which are relative but contain
no generator expression at all.

Previously this would generate a relative path with the IMPORTED
target on export(), which would be a reported as a non-existent
path on import. If used directly in the buildsystem, it would be
reported as a relative path, which is also an error. There is no
need for a policy in this case.
2013-11-26 10:30:18 +01:00
..
add_compile_options Introduce add_compile_options command. 2013-06-04 11:36:55 +02:00
target_compile_definitions Allow target commands to be invoked with no items (#14325). 2013-07-31 16:06:34 +02:00
target_compile_options Allow target commands to be invoked with no items (#14325). 2013-07-31 16:06:34 +02:00
target_include_directories target_include_directories: Allow relative path with genex 2013-11-26 10:30:18 +01:00
target_link_libraries Merge branch 'policy-CMP0022-fixes' into policy-CMP0022-fixes-for-master 2013-11-03 09:20:47 -05:00