diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-06-18 14:33:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-18 14:11:49 (GMT) |
commit | 70ae6dfd922e53e759ec6a58424dfdbb9c12dee1 (patch) | |
tree | cec185445680d3264355302f5bc380ab7181ce30 /Tests/RunCMake/CMP0027/CMP0027-NEW.cmake | |
parent | 36d8d987c705dd693454f3157f7d8c0f50b9f0ff (diff) | |
download | CMake-70ae6dfd922e53e759ec6a58424dfdbb9c12dee1.zip CMake-70ae6dfd922e53e759ec6a58424dfdbb9c12dee1.tar.gz CMake-70ae6dfd922e53e759ec6a58424dfdbb9c12dee1.tar.bz2 |
Handle genexes when evaluating INTERFACE_INCLUDE_DIRECTORIES errors.
Diffstat (limited to 'Tests/RunCMake/CMP0027/CMP0027-NEW.cmake')
-rw-r--r-- | Tests/RunCMake/CMP0027/CMP0027-NEW.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0027/CMP0027-NEW.cmake b/Tests/RunCMake/CMP0027/CMP0027-NEW.cmake new file mode 100644 index 0000000..8245085 --- /dev/null +++ b/Tests/RunCMake/CMP0027/CMP0027-NEW.cmake @@ -0,0 +1,10 @@ + +enable_language(CXX) + +cmake_policy(SET CMP0027 NEW) + +add_library(testTarget UNKNOWN IMPORTED) +set_property(TARGET testTarget PROPERTY INTERFACE_INCLUDE_DIRECTORIES "/does/not/exist") + +add_library(userTarget "${CMAKE_CURRENT_SOURCE_DIR}/empty.cpp") +target_link_libraries(userTarget PRIVATE $<1:testTarget>) |