]> SALOME platform Git repositories - tools/solverlab.git/commitdiff
Salome HOME
Corrected mistake in previous commit
authormichael <michael@localhost.localdomain>
Thu, 17 Dec 2020 16:08:53 +0000 (17:08 +0100)
committermichael <michael@localhost.localdomain>
Thu, 17 Dec 2020 16:08:53 +0000 (17:08 +0100)
cmake_files/FindCPPUNIT.cmake

index 9f4d145c39bc3b3b8833143affa15d4c98fa098f..5991e3c9a4684e4627e104c36b5b5689ce39c45d 100755 (executable)
@@ -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)