1
0
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:
Jonas Kvinge 2018-05-10 17:08:55 +02:00
parent 28b670c2dc
commit bcc60797c6
2 changed files with 10 additions and 10 deletions

View File

@ -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}

View File

@ -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}")