]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | _find_package(${ARGS})\r |
2 | foreach(T brotlicommon brotlidec brotlienc)\r | |
3 | if(TARGET unofficial::brotli::${T} AND NOT TARGET unofficial::brotli::${T}-static)\r | |
4 | _add_library(unofficial::brotli::${T}-static INTERFACE IMPORTED)\r | |
5 | set_target_properties(unofficial::brotli::${T}-static PROPERTIES INTERFACE_LINK_LIBRARIES "unofficial::brotli::${T}")\r | |
6 | endif()\r | |
7 | if(NOT TARGET unofficial::brotli::${T} AND TARGET unofficial::brotli::${T}-static)\r | |
8 | _add_library(unofficial::brotli::${T} INTERFACE IMPORTED)\r | |
9 | set_target_properties(unofficial::brotli::${T} PROPERTIES INTERFACE_LINK_LIBRARIES "unofficial::brotli::${T}-static")\r | |
10 | endif()\r | |
11 | endforeach()\r |