Small tweak to taglib_plugin/CMakeLists.txt to fix compile on OS X.

This commit is contained in:
Casey Langen 2016-06-09 22:37:43 -07:00
parent 311a6782e2
commit 4039157600

View File

@ -6,8 +6,4 @@ set (taglibreader_SOURCES
add_library(taglibreader SHARED ${taglibreader_SOURCES}) add_library(taglibreader SHARED ${taglibreader_SOURCES})
if (CMAKE_SYSTEM_NAME MATCHES "Linux") target_link_libraries(taglibreader ${BOOST_LINK_LIBS} tag.a z)
target_link_libraries(taglibreader ${BOOST_LINK_LIBS} tag.a)
else (CMAKE_SYSTEM_NAME MATCHES "Linux")
target_link_libraries(taglibreader ${BOOST_LINK_LIBS} tag)
endif (CMAKE_SYSTEM_NAME MATCHES "Linux")