Link gstasfsrc with the library rather than the executable

This commit is contained in:
David Sansome 2010-08-01 18:53:55 +00:00
parent 2a7c6de273
commit 1dcdbfd7d6
1 changed files with 1 additions and 6 deletions

View File

@ -601,6 +601,7 @@ if(HAVE_IMOBILEDEVICE)
target_link_libraries(clementine_lib
${IMOBILEDEVICE_LIBRARIES}
${PLIST_LIBRARIES}
gstafcsrc
)
endif(HAVE_IMOBILEDEVICE)
@ -656,12 +657,6 @@ target_link_libraries(clementine
clementine_lib
)
if(HAVE_IMOBILEDEVICE)
target_link_libraries(clementine
gstafcsrc
)
endif(HAVE_IMOBILEDEVICE)
set_target_properties(clementine PROPERTIES
MACOSX_BUNDLE_INFO_PLIST "../dist/Info.plist"
)