mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-12 02:39:03 +08:00
fix: Linking dracodec_unity macOS bundle works again (got broken via #676)
This commit is contained in:
parent
5ad118d7d2
commit
a0146686a0
@ -321,7 +321,7 @@ macro(draco_add_library)
|
||||
endif()
|
||||
|
||||
# VERSION and SOVERSION as necessary
|
||||
if(NOT lib_TYPE STREQUAL STATIC)
|
||||
if(NOT lib_TYPE STREQUAL STATIC AND NOT lib_TYPE STREQUAL MODULE)
|
||||
set_target_properties(${lib_NAME} PROPERTIES VERSION ${DRACO_VERSION})
|
||||
if(NOT MSVC)
|
||||
set_target_properties(${lib_NAME} PROPERTIES SOVERSION ${DRACO_SOVERSION})
|
||||
|
Loading…
x
Reference in New Issue
Block a user