mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 11:31:29 +00:00
c71df5baa5
Some old CMakes that we use had problems with it, change to use the qt5_wrap_ui macro that's bundled with Qt. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
17 lines
No EOL
481 B
CMake
17 lines
No EOL
481 B
CMake
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
set(FACEBOOK_PLUGIN_UI
|
|
facebookconnectwidget.ui
|
|
socialnetworksdialog.ui
|
|
)
|
|
|
|
set(FACEBOOK_PLUGIN_SRCS
|
|
facebook_integration.cpp
|
|
facebookconnectwidget.cpp
|
|
)
|
|
|
|
qt5_wrap_ui(FACEBOOK_PLUGIN_UI_SRCS ${FACEBOOK_PLUGIN_UI})
|
|
add_library(facebook_integration STATIC ${FACEBOOK_PLUGIN_SRCS} ${FACEBOOK_PLUGIN_UI_SRCS})
|
|
target_link_libraries(facebook_integration ${QT_LIBRARIES})
|
|
add_dependencies(facebook_integration subsurface_corelib) |