don't globally serach for libparted. also add the libparted include path to the
compiler's search path for the libparted plugin dir. svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1249820
This commit is contained in:
parent
bd8eaac556
commit
a157e6ae1e
|
@ -38,7 +38,6 @@ find_package(MSGFMT REQUIRED)
|
|||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(BLKID REQUIRED blkid)
|
||||
pkg_check_modules(LIBATASMART REQUIRED libatasmart)
|
||||
find_package(LIBPARTED REQUIRED)
|
||||
|
||||
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
||||
add_definitions(${KDE4_ENABLE_EXCEPTIONS})
|
||||
|
|
|
@ -15,6 +15,10 @@
|
|||
# Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
find_package(LIBPARTED REQUIRED)
|
||||
|
||||
include_directories(${LIBPARTED_INCLUDE_DIR})
|
||||
|
||||
file (GLOB pmlibpartedbackendplugin_SRCS *.cpp)
|
||||
|
||||
kde4_add_plugin(pmlibpartedbackendplugin ${pmlibpartedbackendplugin_SRCS})
|
||||
|
|
Loading…
Reference in New Issue