summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/propsdlgplugin
diff options
context:
space:
mode:
Diffstat (limited to 'filesharing/advanced/propsdlgplugin')
-rw-r--r--filesharing/advanced/propsdlgplugin/CMakeLists.txt5
-rw-r--r--filesharing/advanced/propsdlgplugin/Makefile.am3
-rw-r--r--filesharing/advanced/propsdlgplugin/propertiespage.cpp6
3 files changed, 9 insertions, 5 deletions
diff --git a/filesharing/advanced/propsdlgplugin/CMakeLists.txt b/filesharing/advanced/propsdlgplugin/CMakeLists.txt
index 26d94f56..bd96ae62 100644
--- a/filesharing/advanced/propsdlgplugin/CMakeLists.txt
+++ b/filesharing/advanced/propsdlgplugin/CMakeLists.txt
@@ -11,7 +11,8 @@
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_CURRENT_BINARY_DIR}/../kcm_sambaconf
+ ${CMAKE_BINARY_DIR}/filesharing/advanced/kcm_sambaconf
+ ${CMAKE_SOURCE_DIR}/filesharing/advanced/kcm_sambaconf
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
@@ -32,7 +33,7 @@ install( FILES
tde_add_library( propsdlgplugin_common STATIC_PIC AUTOMOC
SOURCES propertiespage.cpp propertiespagegui.ui
- DEPENDENCIES filesharesamba
+ DEPENDENCIES filesharesamba_generate_headers
)
diff --git a/filesharing/advanced/propsdlgplugin/Makefile.am b/filesharing/advanced/propsdlgplugin/Makefile.am
index 6604bf8f..a639d725 100644
--- a/filesharing/advanced/propsdlgplugin/Makefile.am
+++ b/filesharing/advanced/propsdlgplugin/Makefile.am
@@ -1,5 +1,8 @@
METASOURCES = AUTO
+INCLUDES = -I$(top_srcdir)/filesharing/advanced/kcm_sambaconf \
+ -I$(top_builddir)/filesharing/advanced/kcm_sambaconf \
+ $(all_includes)
kde_module_LTLIBRARIES = fileshare_propsdlgplugin.la
diff --git a/filesharing/advanced/propsdlgplugin/propertiespage.cpp b/filesharing/advanced/propsdlgplugin/propertiespage.cpp
index 5ff1af7b..6042b9e7 100644
--- a/filesharing/advanced/propsdlgplugin/propertiespage.cpp
+++ b/filesharing/advanced/propsdlgplugin/propertiespage.cpp
@@ -44,9 +44,9 @@
#include "../nfs/nfsdialog.h"
// Samba related
-#include "../kcm_sambaconf/sambafile.h"
-#include "../kcm_sambaconf/sambashare.h"
-#include "../kcm_sambaconf/sharedlgimpl.h"
+#include "sambafile.h"
+#include "sambashare.h"
+#include "sharedlgimpl.h"
#include "propertiespage.h"