mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Fix building of Facebook support
No idea when this got broken. Fix seems like a hack as that variable should get set in the plugin CMakeLists.txt. But it seems to work, so "whatever". Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
78dc3a3efe
commit
131c5a2abe
3 changed files with 8 additions and 2 deletions
|
@ -267,6 +267,9 @@ elseif(${SUBSURFACE_TARGET_EXECUTABLE} MATCHES "DesktopExecutable")
|
|||
target_link_libraries(smtk2ssrf smtk_import)
|
||||
endif()
|
||||
|
||||
if(FBSUPPORT)
|
||||
set(FACEBOOK_INTEGRATION facebook_integration)
|
||||
endif()
|
||||
target_link_libraries(
|
||||
${SUBSURFACE_TARGET}
|
||||
subsurface_generated_ui
|
||||
|
|
|
@ -7,6 +7,11 @@ if(BTSUPPORT)
|
|||
set(BT_SRC_FILES btdeviceselectiondialog.cpp)
|
||||
endif()
|
||||
|
||||
if (FBSUPPORT)
|
||||
add_definitions(-DFBSUPPORT)
|
||||
endif()
|
||||
|
||||
|
||||
include_directories(.
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
|
|
|
@ -59,8 +59,6 @@
|
|||
|
||||
#if defined(FBSUPPORT)
|
||||
#include "plugins/facebook/facebook_integration.h"
|
||||
|
||||
#include "socialnetworks.h"
|
||||
#endif
|
||||
|
||||
QProgressDialog *progressDialog = NULL;
|
||||
|
|
Loading…
Reference in a new issue