From: michael Date: Thu, 17 Dec 2020 14:44:21 +0000 (+0100) Subject: Helped FindCPPUNIT to detect native CPPUNIT on Ubuntu 20 and Debian 10 X-Git-Tag: V9_7_0~79 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b3f1aa70db29d07430744dc327cc19fa054e734c;p=tools%2Fsolverlab.git Helped FindCPPUNIT to detect native CPPUNIT on Ubuntu 20 and Debian 10 --- 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)