Skip to content

Commit 5ad7d31

Browse files
committedJun 13, 2017
kde4.kdepimlibs: fixup build by using older cmake
I have no idea why, but apparently the last cmake update caused: kdepimlibs-4.14.3/akonadi/tests/../pastehelper.cpp:343:27: fatal error: pastehelper.moc: No such file or directory
1 parent 58fef1a commit 5ad7d31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎pkgs/desktops/kde-4.14/kdepimlibs.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{ kde, pkgconfig, boost, cyrus_sasl, gpgme, libical, openldap, prison
22
, kdelibs, akonadi, libxslt
33
, shared_mime_info, shared_desktop_ontologies, qjson
4-
, automoc4, cmake, perl
4+
, automoc4, cmake_2_8, perl
55
}:
66

77
kde {
@@ -11,7 +11,7 @@ kde {
1111

1212
setOutputFlags = false;
1313

14-
nativeBuildInputs = [ automoc4 cmake perl pkgconfig ];
14+
nativeBuildInputs = [ automoc4 cmake_2_8 perl pkgconfig ];
1515

1616
cmakeFlags = [
1717
"-DCMAKE_MINIMUM_REQUIRED_VERSION=3.3"

2 commit comments

Comments
 (2)

vcunat commented on Jun 13, 2017

@vcunat
MemberAuthor

/cc @ttuegel (only notification).

vcunat commented on Jun 13, 2017

@vcunat
MemberAuthor

Hmm, I suspect this cmake-3.8.0 change or something around it:

  • When using "AUTOMOC" or "AUTOUIC", generated "moc_", ".moc" and
    "ui_*" are placed in the
    "<CMAKE_CURRENT_BINARY_DIR>/_autogen/include" directory
    which is automatically added to the target's "INCLUDE_DIRECTORIES".
    It is therefore not necessary anymore to have
    "CMAKE_CURRENT_BINARY_DIR" in the target's "INCLUDE_DIRECTORIES".
Please sign in to comment.