mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 14:27:23 +00:00
fe4b25ec2f
Now, several `INTERFACE_*` properties can be set on `IMPORTED` targets, not only via `set_property` and `set_target_properties` but also via `target_compile_definitions`, `target_compile_features`, `target_compile_options`, `target_include_directories`, `target_sources` and `target_link_libraries`. Fixes: #15689 Issue: #17197
6 lines
230 B
CMake
6 lines
230 B
CMake
enable_language(CXX)
|
|
add_library(ObjectLibDependency OBJECT test.cpp)
|
|
|
|
add_library(TestUnknownLibWithoutSources UNKNOWN IMPORTED)
|
|
target_link_libraries(TestUnknownLibWithoutSources INTERFACE $<TARGET_OBJECTS:ObjectLibDependency>)
|