# # $Id: FindRTAI.cmake,v 1.5 2007/04/26 19:33:56 anton Exp $ # # Author(s): Anton Deguet # Created on: 2004-02-18 # # (C) Copyright 2004-2007 Johns Hopkins University (JHU), All Rights # Reserved. # # --- begin cisst license - do not edit --- # # This software is provided "as is" under an open source license, with # no warranty. The complete license can be found in license.txt and # http://www.cisst.org/cisst/license.txt. # # --- end cisst license --- # # try to find RTAI on UNIX systems. # # The following values are defined # # RTAI_INCLUDE_DIR - include directories to use RTAI # RTAI_LIBRARIES - link against this to use RTAI (fullpath) # # $Id: FindRTAI.cmake,v 1.5 2007/04/26 19:33:56 anton Exp $ # IF (UNIX) SET(RTAI_SEARCH_PATH /usr /usr/local /usr/realtime ) FIND_PATH(RTAI_DIR include/rtai.h ${RTAI_SEARCH_PATH}) IF(RTAI_DIR) SET(RTAI_INCLUDE_DIR ${RTAI_DIR}/include) FIND_LIBRARY(RTAI_LIBRARIES lxrt ${RTAI_DIR}/lib) ENDIF(RTAI_DIR) ENDIF (UNIX) # # $Log: FindRTAI.cmake,v $ # Revision 1.5 2007/04/26 19:33:56 anton # All files in libraries: Applied new license text, separate copyright and # updated dates, added standard header where missing. # # Revision 1.4 2006/11/20 20:33:19 anton # Licensing: Applied new license to cisstCommon, cisstVector, cisstNumerical, # cisstInteractive, cisstImage and cisstOSAbstraction. # # Revision 1.3 2005/09/06 13:58:53 anton # cmake files: Added license. # # Revision 1.2 2005/06/17 21:30:24 anton # cisst CMake code: Major update to ease the configuration of tests and # examples. # # Revision 1.1 2004/02/18 22:13:23 anton # Creation # #