Fix #667: Compiled TagLib framework for OS X fails at codesign.

This commit is contained in:
Hao Xi
2016-12-08 12:53:40 +08:00
parent 36ccad2bd4
commit b5115e3497
3 changed files with 25 additions and 11 deletions

View File

@ -365,7 +365,13 @@ set_target_properties(tag PROPERTIES
PUBLIC_HEADER "${tag_HDRS}"
)
if(BUILD_FRAMEWORK)
set_target_properties(tag PROPERTIES FRAMEWORK TRUE)
unset(INSTALL_NAME_DIR)
set_target_properties(tag PROPERTIES
FRAMEWORK TRUE
MACOSX_RPATH 1
VERSION "A"
SOVERSION "A"
)
endif()
install(TARGETS tag