mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-27 08:43:01 +01:00
Fix taglib in makefile
This commit is contained in:
parent
28b670c2dc
commit
bcc60797c6
18
3rdparty/taglib/CMakeLists.txt
vendored
18
3rdparty/taglib/CMakeLists.txt
vendored
@ -368,15 +368,15 @@ set_target_properties(tag PROPERTIES
|
||||
LINK_INTERFACE_LIBRARIES ""
|
||||
#PUBLIC_HEADER "${tag_HDRS}"
|
||||
)
|
||||
if(BUILD_FRAMEWORK)
|
||||
unset(INSTALL_NAME_DIR)
|
||||
set_target_properties(tag PROPERTIES
|
||||
FRAMEWORK TRUE
|
||||
MACOSX_RPATH 1
|
||||
VERSION "A"
|
||||
SOVERSION "A"
|
||||
)
|
||||
endif()
|
||||
#if(BUILD_FRAMEWORK)
|
||||
# unset(INSTALL_NAME_DIR)
|
||||
# set_target_properties(tag PROPERTIES
|
||||
# FRAMEWORK TRUE
|
||||
# MACOSX_RPATH 1
|
||||
# VERSION "A"
|
||||
# SOVERSION "A"
|
||||
# )
|
||||
#endif()
|
||||
|
||||
#install(TARGETS tag
|
||||
# FRAMEWORK DESTINATION ${FRAMEWORK_INSTALL_DIR}
|
||||
|
@ -123,7 +123,7 @@ if (TAGLIB_VERSION VERSION_GREATER 1.11.1 OR WIN32)
|
||||
else()
|
||||
option(USE_SYSTEM_TAGLIB "Use system taglib" OFF)
|
||||
endif()
|
||||
if (USE_SYSTEM_TAGLIB)
|
||||
if (TAGLIB_FOUND AND USE_SYSTEM_TAGLIB)
|
||||
message(STATUS "Using system taglib library")
|
||||
set(CMAKE_REQUIRED_INCLUDES "${TAGLIB_INCLUDE_DIRS}")
|
||||
set(CMAKE_REQUIRED_LIBRARIES "${TAGLIB_LIBRARIES}")
|
||||
|
Loading…
Reference in New Issue
Block a user