From 27267e76347d7de07ffdf1428c9f7b5b392d9fe3 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Mon, 22 Aug 2016 21:21:29 +0200 Subject: Custom cmake file for kjots. Its CMakeFiles does not include /usr/include/KF5/KTextWidgets --- kde/cmake/kjots | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) mode change 120000 => 100644 kde/cmake/kjots diff --git a/kde/cmake/kjots b/kde/cmake/kjots deleted file mode 120000 index ab12832..0000000 --- a/kde/cmake/kjots +++ /dev/null @@ -1 +0,0 @@ -applications5 \ No newline at end of file diff --git a/kde/cmake/kjots b/kde/cmake/kjots new file mode 100644 index 0000000..75557aa --- /dev/null +++ b/kde/cmake/kjots @@ -0,0 +1,23 @@ +mkdir build +cd build + cmake \ + $KDE_OPT_ARGS \ + -DKDE_PLATFORM_FEATURE_DISABLE_DEPRECATED=TRUE \ + -DCMAKE_C_FLAGS:STRING="-I/usr/include/KF5/KTextWidgets $SLKCFLAGS" \ + -DCMAKE_C_FLAGS_RELEASE:STRING="-I/usr/include/KF5/KTextWidgets $SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="-I/usr/include/KF5/KTextWidgets $SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS_RELEASE:STRING="-I/usr/include/KF5/KTextWidgets $SLKCFLAGS" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DMAN_INSTALL_DIR=/usr/man \ + -DSYSCONF_INSTALL_DIR=/etc/kde \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DLIB_INSTALL_DIR=lib$LIBDIRSUFFIX \ + -DLIBEXEC_INSTALL_DIR=lib$LIBDIRSUFFIX \ + -DQT_PLUGIN_INSTALL_DIR=lib$LIBDIRSUFFIX/qt5/plugins \ + -DQML_INSTALL_DIR=lib$LIBDIRSUFFIX/qt5/qml \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ + -DBUILD_TESTING=OFF \ + -DQca-qt5_DIR=/usr/lib${LIBDIRSUFFIX}/cmake/Qca \ + .. + -- cgit v1.2.3