Skip to content

Commit

Permalink
[cmake] Link taglib using CMake on Windows
Browse files Browse the repository at this point in the history
Don't use #pragma comment(lib) for linking taglib when building with
CMake.
  • Loading branch information
fetzerch authored and FernetMenta committed Jan 9, 2016
1 parent 36a6d79 commit 6481118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/music/tags/TagLibVFSStream.cpp
Expand Up @@ -26,7 +26,7 @@ using namespace XFILE;
using namespace TagLib;
using namespace MUSIC_INFO;

#ifdef TARGET_WINDOWS
#if defined(TARGET_WINDOWS) && !defined(BUILDING_WITH_CMAKE)
#pragma comment(lib, "tag.lib")
#endif

Expand Down

0 comments on commit 6481118

Please sign in to comment.