Merge pull request #117 from TsudaKageyu/win32-lib

Add a required target_link_libraries in Win32
This commit is contained in:
Tsuda Kageyu 2013-03-24 13:51:21 -07:00
commit a0e8963fa0

View File

@ -311,6 +311,10 @@ if(ZLIB_FOUND)
target_link_libraries(tag ${ZLIB_LIBRARIES})
endif()
if(WIN32 AND NOT TAGLIB_STATIC)
target_link_libraries(tag shlwapi.lib)
endif()
set_target_properties(tag PROPERTIES
VERSION ${TAGLIB_SOVERSION_MAJOR}.${TAGLIB_SOVERSION_MINOR}.${TAGLIB_SOVERSION_PATCH}
SOVERSION ${TAGLIB_SOVERSION_MAJOR}