From b3f1aa70db29d07430744dc327cc19fa054e734c Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 17 Dec 2020 15:44:21 +0100 Subject: [PATCH] Helped FindCPPUNIT to detect native CPPUNIT on Ubuntu 20 and Debian 10 --- cmake_files/FindCPPUNIT.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmake_files/FindCPPUNIT.cmake b/cmake_files/FindCPPUNIT.cmake index 4193644..9f4d145 100755 --- a/cmake_files/FindCPPUNIT.cmake +++ b/cmake_files/FindCPPUNIT.cmake @@ -115,7 +115,10 @@ IF(CPPUNIT_STATUS) FIND_LIBRARY(CPPUNIT_LIB cppunit_dll PATHS ${CPPUNIT_LIB_PATHS} ${CPPUNIT_FIND_PATHS_OPTION}) ENDIF(CMAKE_BUILD_TYPE STREQUAL Debug) ELSE(WINDOWS) - FIND_LIBRARY(CPPUNIT_LIB cppunit PATHS ${CPPUNIT_LIB_PATHS} ${CPPUNIT_FIND_PATHS_OPTION}) + FIND_LIBRARY(CPPUNIT_LIB cppunit PATHS ${CPPUNIT_LIB_PATHS} ${CPPUNIT_FIND_PATHS_OPTION} + /usr/lib/x86_64-linux-gnu # Path for ubuntu 20 and debian 10 + /usr/lib64 # Path for CentOs 8 + ) ENDIF(WINDOWS) SET(CPPUNIT_LIBS) IF(CPPUNIT_LIB) -- 2.39.2