cmake: RSS target has to depend on qbt_base as it uses its includes

This commit is contained in:
Eugene Shalygin 2017-01-21 20:12:48 +01:00
parent eff13cc9eb
commit 180ec7af4a

View file

@ -23,6 +23,7 @@ rsssettingsdlg.ui
) )
add_library(qbt_rss STATIC ${QBT_RSS_HEADERS} ${QBT_RSS_SOURCE} ${QBT_RSS_FORMS}) add_library(qbt_rss STATIC ${QBT_RSS_HEADERS} ${QBT_RSS_SOURCE} ${QBT_RSS_FORMS})
target_link_libraries(qbt_rss qbt_base)
if (QT4_FOUND) if (QT4_FOUND)
target_link_libraries(qbt_rss Qt4::QtGui Qt4::QtNetwork) target_link_libraries(qbt_rss Qt4::QtGui Qt4::QtNetwork)
else (QT4_FOUND) else (QT4_FOUND)