[kphotoalbum] /: set cmake_min_req to 2.8.9 to match kdelibs4 policy; fix build accordingly

David Faure faure at kde.org
Sun Jul 26 16:12:44 UTC 2015


Git commit f785317ba88528760886b592aa9604b0c4ba62dd by David Faure.
Committed on 26/07/2015 at 16:12.
Pushed by dfaure into branch 'master'.

set cmake_min_req to 2.8.9 to match kdelibs4 policy; fix build accordingly

(working around the lack of ${KDE4_KMEDIAPLAYER_LIBS})

CCMAIL: kde-buildsystem at kde.org

M  +2    -2    CMakeLists.txt

http://commits.kde.org/kphotoalbum/f785317ba88528760886b592aa9604b0c4ba62dd

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6335f9b..f7741fa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8.3 FATAL_ERROR)
+cmake_minimum_required(VERSION 2.8.9)
 project(kphotoalbum)
 
 if(POLICY CMP0017)
@@ -456,7 +456,7 @@ kde4_add_library(Utilities STATIC ${libUtilities_SRCS})
 target_link_libraries(kphotoalbum Utilities)
 
 # External components
-target_link_libraries(kphotoalbum ${KDE4_KIO_LIBS} ${JPEG_LIBRARY} kmediaplayer ${KDE4_PHONON_LIBS})
+target_link_libraries(kphotoalbum ${KDE4_KIO_LIBS} ${JPEG_LIBRARY} ${KDE4_TARGET_PREFIX}kmediaplayer ${KDE4_PHONON_LIBS})
 
 if(KIPI_FOUND)
     target_link_libraries(kphotoalbum ${KIPI_LIBRARIES})


More information about the Kde-buildsystem mailing list