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.
10 lines
300 B
10 lines
300 B
10 years ago
|
|
||
|
include(CMakeFindDependencyMacro)
|
||
|
|
||
|
find_dependency(Pack2 2.3)
|
||
|
find_dependency(Pack3)
|
||
|
|
||
|
add_library(Pack1::Lib INTERFACE IMPORTED)
|
||
|
set_property(TARGET Pack1::Lib PROPERTY INTERFACE_COMPILE_DEFINITIONS HAVE_PACK1)
|
||
|
set_property(TARGET Pack1::Lib PROPERTY INTERFACE_LINK_LIBRARIES Pack2::Lib Pack3::Lib)
|