From d5d22d590458392291d604a6c555f5ff5258c012 Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 17 Dec 2020 17:08:53 +0100 Subject: [PATCH] Corrected mistake in previous commit --- cmake_files/FindCPPUNIT.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake_files/FindCPPUNIT.cmake b/cmake_files/FindCPPUNIT.cmake index 9f4d145..5991e3c 100755 --- a/cmake_files/FindCPPUNIT.cmake +++ b/cmake_files/FindCPPUNIT.cmake @@ -115,10 +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} /usr/lib/x86_64-linux-gnu # Path for ubuntu 20 and debian 10 /usr/lib64 # Path for CentOs 8 - ) + ${CPPUNIT_FIND_PATHS_OPTION} ) ENDIF(WINDOWS) SET(CPPUNIT_LIBS) IF(CPPUNIT_LIB) -- 2.39.2