1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/finance/alkimia/files/patch-autotests_CMakeLists.txt
Jason E. Hale 82be780a05 - Move finance/libalkimia -> finance/alkimia to follow upstream project name
- Update to 7.0.1
- finance/alkimia is the Qt 5 version for the upcoming kf5 version of KMyMoney
- finance/alkimia-qt4 is the Qt 4 version for the kde4 version of KMyMoney
- Fix LICENSE
- Default multi-precision library is now MPIR upstream, but an option has
  been added if you wish to use GMP instead
- Add regression test support
- Adjust finance/kmymoney to use the new version

While here:
- Add a patch to finance/kmymoney to fix a possible build failure when
  kmymoneysettings.h is not generated early enough.
2018-04-13 13:16:46 +00:00

16 lines
374 B
Plaintext

Find testlib (moved from ../CMakeLists.txt)
--- autotests/CMakeLists.txt.orig 2018-03-15 19:28:26 UTC
+++ autotests/CMakeLists.txt
@@ -1,8 +1,10 @@
include(ECMAddTests)
if(BUILD_QT4)
+ find_package(Qt4 REQUIRED COMPONENTS QtTest)
set(TEST_LIB ${QT_QTTEST_LIBRARY})
else()
+ find_package(Qt5 REQUIRED COMPONENTS Test)
set(TEST_LIB Qt5::Test)
endif()