mirror of
https://github.com/reactos/CMake.git
synced 2024-12-21 03:00:59 +00:00
79edd00235
This fixes a regression introduced in commit 290e92ad
(Move
GetIncludeDirectories to cmGeneratorTarget, 2012-09-16) which loops over
cmGeneratorTargets before they get created, so the container is empty.
10 lines
408 B
CMake
10 lines
408 B
CMake
|
|
include_directories(NotThere1-NOTFOUND)
|
|
|
|
include_directories($<1:There1-NOTFOUND>)
|
|
|
|
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp" "int main(int,char**) { return 0; }\n")
|
|
add_executable(dummy "${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp")
|
|
set_property(TARGET dummy APPEND PROPERTY INCLUDE_DIRECTORIES "NotThere2-NOTFOUND")
|
|
set_property(TARGET dummy APPEND PROPERTY INCLUDE_DIRECTORIES "$<1:There2-NOTFOUND>")
|