diff --git a/src/plugins/dummy/CMakeLists.txt b/src/plugins/dummy/CMakeLists.txt
index 89a5d35..9974803 100644
--- a/src/plugins/dummy/CMakeLists.txt
+++ b/src/plugins/dummy/CMakeLists.txt
@@ -13,7 +13,12 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
-file (GLOB pmdummybackendplugin_SRCS *.cpp)
+set (pmdummybackendplugin_SRCS
+ dummybackend.cpp
+ dummydevice.cpp
+ dummypartition.cpp
+ dummypartitiontable.cpp
+)
add_library(pmdummybackendplugin SHARED ${pmdummybackendplugin_SRCS})
diff --git a/src/plugins/libparted/CMakeLists.txt b/src/plugins/libparted/CMakeLists.txt
index ec14b15..ebeec19 100644
--- a/src/plugins/libparted/CMakeLists.txt
+++ b/src/plugins/libparted/CMakeLists.txt
@@ -25,7 +25,12 @@ endif (LIBPARTED_FS_RESIZE_LIBRARY_SUPPORT)
include_directories(${LIBPARTED_INCLUDE_DIR})
-file (GLOB pmlibpartedbackendplugin_SRCS *.cpp)
+set (pmlibpartedbackendplugin_SRCS
+ libpartedbackend.cpp
+ libparteddevice.cpp
+ libpartedpartition.cpp
+ libpartedpartitiontable.cpp
+)
add_library(pmlibpartedbackendplugin SHARED ${pmlibpartedbackendplugin_SRCS})
diff --git a/src/util/capacity.h b/src/util/capacity.h
index f35d59a..80996b4 100644
--- a/src/util/capacity.h
+++ b/src/util/capacity.h
@@ -18,7 +18,7 @@
#if !defined(CAPACITY__H)
#define CAPACITY__H
-#include "../util/libpartitionmanagerexport.h"
+#include "util/libpartitionmanagerexport.h"
class Partition;
class Device;
diff --git a/src/util/externalcommand.h b/src/util/externalcommand.h
index 8522e1c..8901f49 100644
--- a/src/util/externalcommand.h
+++ b/src/util/externalcommand.h
@@ -19,7 +19,7 @@
#define EXTERNALCOMMAND__H
-#include "../util/libpartitionmanagerexport.h"
+#include "util/libpartitionmanagerexport.h"
#include
diff --git a/src/util/globallog.h b/src/util/globallog.h
index 99eae5c..8add822 100644
--- a/src/util/globallog.h
+++ b/src/util/globallog.h
@@ -19,7 +19,7 @@
#define GLOBALLOG__H
-#include "../util/libpartitionmanagerexport.h"
+#include "util/libpartitionmanagerexport.h"
#include
#include
diff --git a/src/util/htmlreport.cpp b/src/util/htmlreport.cpp
index a95fff8..02b4022 100644
--- a/src/util/htmlreport.cpp
+++ b/src/util/htmlreport.cpp
@@ -18,8 +18,8 @@
#include "util/htmlreport.h"
-#include "../backend/corebackend.h"
-#include "../backend/corebackendmanager.h"
+#include "backend/corebackend.h"
+#include "backend/corebackendmanager.h"
#include
#include
diff --git a/src/util/htmlreport.h b/src/util/htmlreport.h
index e2006c2..3ffad3b 100644
--- a/src/util/htmlreport.h
+++ b/src/util/htmlreport.h
@@ -19,7 +19,7 @@
#define HTMLREPORT__H
-#include "../util/libpartitionmanagerexport.h"
+#include "util/libpartitionmanagerexport.h"
class QString;
diff --git a/src/util/report.h b/src/util/report.h
index 507b490..ae59fe9 100644
--- a/src/util/report.h
+++ b/src/util/report.h
@@ -20,7 +20,7 @@
#define REPORT__H
-#include "../util/libpartitionmanagerexport.h"
+#include "util/libpartitionmanagerexport.h"
#include
#include