mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-11 23:29:03 +08:00
Don't set SOVERSION property for ios/macos unity bundle.
It causes a link error like the following: clang: error: invalid argument '-compatibility_version 1.0.0' only allowed with '-dynamiclib' Fixes: https://github.com/google/draco/issues/393
This commit is contained in:
parent
da0df33a89
commit
11dc17315e
@ -881,7 +881,7 @@ else ()
|
||||
set_target_properties(dracodec PROPERTIES SOVERSION 1)
|
||||
set_target_properties(dracoenc PROPERTIES SOVERSION 1)
|
||||
set_target_properties(draco PROPERTIES SOVERSION 1)
|
||||
if (BUILD_UNITY_PLUGIN)
|
||||
if (BUILD_UNITY_PLUGIN AND (NOT APPLE))
|
||||
set_target_properties(dracodec_unity PROPERTIES SOVERSION 1)
|
||||
endif ()
|
||||
endif ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user