summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt3
-rw-r--r--desktop-widgets/CMakeLists.txt5
-rw-r--r--desktop-widgets/mainwindow.cpp2
3 files changed, 8 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 095160c7d..09afcf882 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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
diff --git a/desktop-widgets/CMakeLists.txt b/desktop-widgets/CMakeLists.txt
index dc5503515..0e7601196 100644
--- a/desktop-widgets/CMakeLists.txt
+++ b/desktop-widgets/CMakeLists.txt
@@ -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}
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index 78faaadc5..33151efb8 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -59,8 +59,6 @@
#if defined(FBSUPPORT)
#include "plugins/facebook/facebook_integration.h"
-
-#include "socialnetworks.h"
#endif
QProgressDialog *progressDialog = NULL;