Merge pull request #394 from google/fix_shared_macos_builds

Don't set SOVERSION property for ios/macos unity bundle.
This commit is contained in:
tomfinegan 2018-05-18 11:20:39 -07:00 committed by GitHub
commit 098232e08d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ()