[kuser] /: set cmake min req and fix linking, working around the lack of a ${KDE4_KNTLM_LIBS}
David Faure
faure at kde.org
Sun Jul 26 14:55:16 UTC 2015
Git commit 9fbacac53225885be9f2fcdbe6b90acfc84d1026 by David Faure.
Committed on 26/07/2015 at 14:54.
Pushed by dfaure into branch 'master'.
set cmake min req and fix linking, working around the lack of a ${KDE4_KNTLM_LIBS}
CCMAIL: kde-buildsystem at kde.org
M +2 -1 CMakeLists.txt
http://commits.kde.org/kuser/9fbacac53225885be9f2fcdbe6b90acfc84d1026
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3282eb0..44540e9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,3 +1,4 @@
+cmake_minimum_required(VERSION 2.8.9)
project(kuser)
# search packages used by KDE
@@ -86,7 +87,7 @@ kde4_add_ui_files(kuser_SRCS ku_filessettings.ui ku_generalsettings.ui ku_ldapse
kde4_add_executable(kuser ${kuser_SRCS})
-target_link_libraries(kuser ${KDE4_KIO_LIBS} ${KDE4_KLDAP_LIBS} kntlm)
+target_link_libraries(kuser ${KDE4_KIO_LIBS} ${KDE4_KLDAP_LIBS} ${KDE4_TARGET_PREFIX}kntlm)
if(HAVE_CRYPT_LIBRARY)
target_link_libraries(kuser crypt)
endif(HAVE_CRYPT_LIBRARY)
More information about the Kde-buildsystem
mailing list