]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Synchronization env var for CPPUNIT with autotools : CPPUNIT_ROOT -> CPPUNITHOME
authorageay <ageay>
Mon, 1 Oct 2012 13:15:39 +0000 (13:15 +0000)
committerageay <ageay>
Mon, 1 Oct 2012 13:15:39 +0000 (13:15 +0000)
salome_adm/cmake_files/FindCPPUNIT.cmake

index 4193644cd9ae3235f0966f111c200d939f80e641..aa7b8c976afc34f23469dd604f8402d4e8592346 100644 (file)
@@ -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)