mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-02 23:20:20 +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)
|
target_link_libraries(smtk2ssrf smtk_import)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(FBSUPPORT)
|
||||||
|
set(FACEBOOK_INTEGRATION facebook_integration)
|
||||||
|
endif()
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
${SUBSURFACE_TARGET}
|
${SUBSURFACE_TARGET}
|
||||||
subsurface_generated_ui
|
subsurface_generated_ui
|
||||||
|
|
|
@ -7,6 +7,11 @@ if(BTSUPPORT)
|
||||||
set(BT_SRC_FILES btdeviceselectiondialog.cpp)
|
set(BT_SRC_FILES btdeviceselectiondialog.cpp)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (FBSUPPORT)
|
||||||
|
add_definitions(-DFBSUPPORT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
include_directories(.
|
include_directories(.
|
||||||
${CMAKE_CURRENT_BINARY_DIR}
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
${CMAKE_BINARY_DIR}
|
${CMAKE_BINARY_DIR}
|
||||||
|
|
|
@ -59,8 +59,6 @@
|
||||||
|
|
||||||
#if defined(FBSUPPORT)
|
#if defined(FBSUPPORT)
|
||||||
#include "plugins/facebook/facebook_integration.h"
|
#include "plugins/facebook/facebook_integration.h"
|
||||||
|
|
||||||
#include "socialnetworks.h"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
QProgressDialog *progressDialog = NULL;
|
QProgressDialog *progressDialog = NULL;
|
||||||
|
|
Loading…
Reference in a new issue