From 38a17f1889e2e1876f88e264efe93444c83acc53 Mon Sep 17 00:00:00 2001 From: ageay Date: Mon, 1 Oct 2012 13:15:39 +0000 Subject: [PATCH] Synchronization env var for CPPUNIT with autotools : CPPUNIT_ROOT -> CPPUNITHOME --- salome_adm/cmake_files/FindCPPUNIT.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salome_adm/cmake_files/FindCPPUNIT.cmake b/salome_adm/cmake_files/FindCPPUNIT.cmake index 4193644cd..aa7b8c976 100644 --- a/salome_adm/cmake_files/FindCPPUNIT.cmake +++ b/salome_adm/cmake_files/FindCPPUNIT.cmake @@ -53,7 +53,7 @@ IF(CPPUNIT_STATUS) IF(WITH_CPPUNIT) SET(CPPUNIT_ROOT_USER ${WITH_CPPUNIT}) ELSE(WITH_CPPUNIT) - SET(CPPUNIT_ROOT_USER $ENV{CPPUNIT_ROOT}) + SET(CPPUNIT_ROOT_USER $ENV{CPPUNITHOME}) ENDIF(WITH_CPPUNIT) ENDIF(CPPUNIT_STATUS) @@ -92,7 +92,7 @@ IF(CPPUNIT_STATUS) IF(CPPUNIT_ROOT_USER) MESSAGE(STATUS "${CPPUNIT_INCLUDE_TO_FIND} not found in ${CPPUNIT_INCLUDE_PATHS}, check your CPPUNIT installation.") ELSE(CPPUNIT_ROOT_USER) - MESSAGE(STATUS "${CPPUNIT_INCLUDE_TO_FIND} not found on system, try to use WITH_CPPUNIT option or CPPUNIT_ROOT environment variable.") + MESSAGE(STATUS "${CPPUNIT_INCLUDE_TO_FIND} not found on system, try to use WITH_CPPUNIT option or CPPUNITHOME environment variable.") ENDIF(CPPUNIT_ROOT_USER) ENDIF(CPPUNIT_INCLUDE_DIR) ENDIF(CPPUNIT_STATUS) -- 2.39.2