diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-02-12 10:58:50 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-02-13 14:12:31 (GMT) |
commit | e1f908015f943ed507063260b3aae1f3b503237e (patch) | |
tree | 32643d048d7a5fe48062d2a21df2deda4be90ce8 /Tests/RunCMake/include_directories/DebugIncludes.cmake | |
parent | 567c8d103ed3c3cb7303877d89e8508dd3f8d0ca (diff) | |
download | CMake-e1f908015f943ed507063260b3aae1f3b503237e.zip CMake-e1f908015f943ed507063260b3aae1f3b503237e.tar.gz CMake-e1f908015f943ed507063260b3aae1f3b503237e.tar.bz2 |
Don't populate INTERFACE includes and defines properties in tll.
This is a partial revert of commit 77cecb77 (Add includes and compile
definitions with target_link_libraries., 2012-11-05).
As the interface includes and defines are now determined by the link
closure, there is no need to populate the corresponding properties
explicitly.
Diffstat (limited to 'Tests/RunCMake/include_directories/DebugIncludes.cmake')
-rw-r--r-- | Tests/RunCMake/include_directories/DebugIncludes.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/RunCMake/include_directories/DebugIncludes.cmake b/Tests/RunCMake/include_directories/DebugIncludes.cmake index 794a852..de36899 100644 --- a/Tests/RunCMake/include_directories/DebugIncludes.cmake +++ b/Tests/RunCMake/include_directories/DebugIncludes.cmake @@ -22,7 +22,11 @@ include_directories( ) add_library(foo "${CMAKE_CURRENT_BINARY_DIR}/DebugIncludes.cpp") -target_include_directories(foo INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/five") +target_include_directories(foo + INTERFACE + "${CMAKE_CURRENT_SOURCE_DIR}/seven" + "${CMAKE_CURRENT_SOURCE_DIR}/eight" +) target_link_libraries(lll foo) macro(some_macro) |