You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
421 B
14 lines
421 B
2 years ago
|
enable_language(CXX)
|
||
10 years ago
|
add_library(empty1 INTERFACE IMPORTED)
|
||
|
add_library(empty2 INTERFACE IMPORTED)
|
||
|
|
||
|
set_property(TARGET empty1 PROPERTY INTERFACE_LINK_LIBRARIES
|
||
|
$<$<STREQUAL:$<TARGET_PROPERTY:INTERFACE_INCLUDE_DIRECTORIES>,/foo/bar>:empty2>
|
||
|
)
|
||
|
|
||
|
add_library(empty3 empty.cpp)
|
||
|
target_link_libraries(empty3 empty1)
|
||
2 years ago
|
|
||
|
# Suppress generator-specific targets that might pollute the stderr.
|
||
|
set(CMAKE_SUPPRESS_REGENERATION TRUE)
|