diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-04-10 14:08:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-04-10 14:08:03 +0100 |
commit | 497ead53505882a128e961530f9f31e95a4f3ca8 (patch) | |
tree | 0630e577199c235f21375c7400dd9e34296f44d3 /dev-libs/libdbusmenu-qt5/files | |
parent | bda1c1728997079cb257d9b00b2be47735e636b7 (diff) |
split libdbusmenu-qt into libdbusmenu-qt4 and libdbusmenu-qt5
Diffstat (limited to 'dev-libs/libdbusmenu-qt5/files')
-rw-r--r-- | dev-libs/libdbusmenu-qt5/files/libdbusmenu-qt-0.9.3_pre20140619-optionaltests.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/libdbusmenu-qt5/files/libdbusmenu-qt-0.9.3_pre20140619-optionaltests.patch b/dev-libs/libdbusmenu-qt5/files/libdbusmenu-qt-0.9.3_pre20140619-optionaltests.patch new file mode 100644 index 00000000..7f6d82eb --- /dev/null +++ b/dev-libs/libdbusmenu-qt5/files/libdbusmenu-qt-0.9.3_pre20140619-optionaltests.patch @@ -0,0 +1,16 @@ +--- CMakeLists.txt.old 2014-10-10 21:14:47.139654992 +0200 ++++ CMakeLists.txt 2014-10-10 21:16:17.114656451 +0200 +@@ -90,8 +90,12 @@ + ) + + add_subdirectory(src) ++ ++option(BUILD_TESTS "Build tests for qt4" ON) + if (NOT USE_QT5) # TODO port tests to Qt5 +-add_subdirectory(tests) ++ if(BUILD_TESTS) ++ add_subdirectory(tests) ++ endif(BUILD_TESTS) + endif() + add_subdirectory(tools) + |