File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,15 @@ function(_set_target_prefix_and_suffix target kind sdk)
53
53
precondition (kind MESSAGE "kind is required" )
54
54
precondition (sdk MESSAGE "sdk is required" )
55
55
56
- if ("${sdk} " STREQUAL "WINDOWS" )
56
+ if ("${sdk} " STREQUAL "ANDROID" )
57
+ if ("${kind} " STREQUAL "STATIC" )
58
+ set_property (TARGET "${target} " PROPERTY PREFIX "lib" )
59
+ set_property (TARGET "${target} " PROPERTY SUFFIX ".a" )
60
+ elseif ("${libkind} " STREQUAL "SHARED" )
61
+ set_property (TARGET "${target} " PROPERTY PREFIX "lib" )
62
+ set_property (TARGET "${target} " PROPERTY SUFFIX ".so" )
63
+ endif ()
64
+ elseif ("${sdk} " STREQUAL "WINDOWS" )
57
65
if ("${kind} " STREQUAL "STATIC" )
58
66
set_property (TARGET "${target} " PROPERTY PREFIX "lib" )
59
67
set_property (TARGET "${target} " PROPERTY SUFFIX ".lib" )
You can’t perform that action at this time.
0 commit comments