blob: 42edaea4fed9a10c484046375f8e0f77fcc81509 (
plain)
1
2
3
4
5
6
7
8
9
10
|
add_library(fw SHARED IMPORTED)
set_target_properties(fw PROPERTIES
FRAMEWORK TRUE
IMPORTED_LOCATION "/no/exist/fw.framework/Versions/A/fw"
IMPORTED_SONAME "@rpath/fw.framework/Versions/A/fw"
)
add_custom_target(print_fw ALL COMMAND
${CMAKE_COMMAND} -E echo "xxx$<TARGET_SONAME_FILE:fw>xxx"
)
|