From b1796ae4d47d2c25940418245c9a6e978184ed95 Mon Sep 17 00:00:00 2001 From: Denis Fateyev Date: Wed, 3 Jul 2019 00:11:46 +0600 Subject: [PATCH] use pkg-config for cppunit --- tests/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 1539dc3..1ff961f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,4 +1,6 @@ -INCLUDE(FindCppUnit.cmake) +INCLUDE(FindPkgConfig) + +PKG_CHECK_MODULES(CPPUNIT cppunit) FILE(GLOB_RECURSE UnitTestSrc "src/*Test.cpp" )