summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/alias_targets/target_include_directories.cmake
blob: c26830e119347b91a996a11f9e644b2790aff503 (plain)
1
2
3
4
5
6
7
8

enable_language(CXX)

add_library(foo empty.cpp)

add_library(alias ALIAS foo)

target_include_directories(alias PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>)