diff options
author | markd <markd@pkgsrc.org> | 2017-12-19 09:47:55 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2017-12-19 09:47:55 +0000 |
commit | ce57619073dd86054ab940ef21da6a1eda22018c (patch) | |
tree | fbfa04ecbc3f54da7ca0416af0f5486718870a9a /graphics/luminance-hdr | |
parent | d63ae37e229863f41cf8e01967f3509efafbca34 (diff) | |
download | pkgsrc-ce57619073dd86054ab940ef21da6a1eda22018c.tar.gz |
luminance-hdr: tests require gtest, so make optional
Diffstat (limited to 'graphics/luminance-hdr')
-rw-r--r-- | graphics/luminance-hdr/distinfo | 4 | ||||
-rw-r--r-- | graphics/luminance-hdr/patches/patch-CMakeLists.txt | 19 |
2 files changed, 20 insertions, 3 deletions
diff --git a/graphics/luminance-hdr/distinfo b/graphics/luminance-hdr/distinfo index 12068b35601..3e7dc06d881 100644 --- a/graphics/luminance-hdr/distinfo +++ b/graphics/luminance-hdr/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.2 2016/04/03 12:47:45 joerg Exp $ +$NetBSD: distinfo,v 1.3 2017/12/19 09:47:55 markd Exp $ SHA1 (luminance-hdr-2.4.0.tar.bz2) = 58e711531bd20be80b4761137c9c684b4b67000f RMD160 (luminance-hdr-2.4.0.tar.bz2) = 41fbd29ececa8f8de89dccabd6b48a66cc870307 SHA512 (luminance-hdr-2.4.0.tar.bz2) = aa14a13d12ba382f5f8dcb79a57aa68864678db62f036ac2d8b8959da76f20b938481932a6fff3861eb6dbc5a1d4f06bc1f3e3ca9a6ce4f7a27a9db736aa8702 Size (luminance-hdr-2.4.0.tar.bz2) = 10507522 bytes -SHA1 (patch-CMakeLists.txt) = 16492e3df08517fece3a03daf588a71f9296f4c3 +SHA1 (patch-CMakeLists.txt) = 786aa34e8ddbb8a313c915839d400231488a2ee6 SHA1 (patch-src_HelpBrowser_CMakeLists.txt) = 57277fd03e6c201fb6fadc3df169276c358460fa SHA1 (patch-src_MainCli_commandline.cpp) = bbbe118f6712381e9324629d921d934d73e48da8 diff --git a/graphics/luminance-hdr/patches/patch-CMakeLists.txt b/graphics/luminance-hdr/patches/patch-CMakeLists.txt index 20df7de63e8..ec151eab757 100644 --- a/graphics/luminance-hdr/patches/patch-CMakeLists.txt +++ b/graphics/luminance-hdr/patches/patch-CMakeLists.txt @@ -1,6 +1,7 @@ -$NetBSD: patch-CMakeLists.txt,v 1.1 2016/02/07 22:10:47 markd Exp $ +$NetBSD: patch-CMakeLists.txt,v 1.2 2017/12/19 09:47:55 markd Exp $ Fix build error with Qt >= 5.3.2 +tests require gtest, so make optional --- CMakeLists.txt.orig 2015-09-10 04:26:44.095679440 +0000 +++ CMakeLists.txt @@ -12,3 +13,19 @@ Fix build error with Qt >= 5.3.2 IF(WIN32) find_package(Qt5WinExtras) ENDIF() +@@ -165,10 +166,12 @@ SET(LUMINANCE_HDR_H ${LUMINANCE_HDR_H} + SET(LUMINANCE_HDR_RCCS icons.qrc) + QT5_ADD_RESOURCES(LUMINANCE_HDR_RCCS_SRCS ${LUMINANCE_HDR_RCCS}) + +-ENABLE_TESTING() +- + ADD_SUBDIRECTORY(src) +-ADD_SUBDIRECTORY(test) ++ ++IF(ENABLE_UNIT_TEST) ++ ENABLE_TESTING() ++ ADD_SUBDIRECTORY(test) ++ENDIF(ENABLE_UNIT_TEST) + + # translations + FILE(GLOB LUMINANCE_TS i18n/lang_*.ts) |