certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] certi/scripts FindRTI.cmake


From: certi-cvs
Subject: [certi-cvs] certi/scripts FindRTI.cmake
Date: Mon, 24 Nov 2008 12:21:59 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Petr Gotthard <gotthardp>       08/11/24 12:21:59

Modified files:
        scripts        : FindRTI.cmake 

Log message:
        Bug #24914: FindRTI.cmake was not robust to 'unnable to execute RTIG'

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/scripts/FindRTI.cmake?cvsroot=certi&r1=1.8&r2=1.9

Patches:
Index: FindRTI.cmake
===================================================================
RCS file: /sources/certi/certi/scripts/FindRTI.cmake,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- FindRTI.cmake       22 Nov 2008 17:14:10 -0000      1.8
+++ FindRTI.cmake       24 Nov 2008 12:21:59 -0000      1.9
@@ -91,9 +91,13 @@
     OUTPUT_VARIABLE RTI_OUTV
     ERROR_VARIABLE  RTI_ERRV
     OUTPUT_STRIP_TRAILING_WHITESPACE)
-
+  # Check if rtig was executed properly
+  IF (RTI_RESV EQUAL 0)
   STRING(REGEX REPLACE ".*RTIG " "" RTI_VERSION ${RTI_OUTV})
   RTI_MESSAGE_QUIETLY(RTI_FIND_QUIETLY STATUS "Found CERTI version: 
${RTI_VERSION}")
+  ELSE (RTI_RESV EQUAL 0)
+    RTI_MESSAGE_QUIETLY(RTI_FIND_QUIETLY STATUS "CERTI RTIG cannot be run 
properly, check your CERTI installation")
+  ENDIF(RTI_RESV EQUAL 0)
 ENDIF (CERTI_RTIG_EXECUTABLE)
 
 # Set the modified system variables back to the original value.
@@ -108,4 +112,4 @@
   ENDIF (RTI_FIND_REQUIRED)
 ENDIF(RTI_LIBRARY AND RTI_INCLUDE_DIR)
 
-# $Id: FindRTI.cmake,v 1.8 2008/11/22 17:14:10 gotthardp Exp $
+# $Id: FindRTI.cmake,v 1.9 2008/11/24 12:21:59 gotthardp Exp $




reply via email to

[Prev in Thread] Current Thread [Next in Thread]