OpenAccess env in progress

This commit is contained in:
The Coriolis Project 2008-08-31 11:29:55 +00:00
parent a387532310
commit 865d1bde2a
1 changed files with 5 additions and 3 deletions

View File

@ -143,7 +143,7 @@ IF(UNIX)
IF (OA_INCLUDE_PATH AND OA_OACOMMON_LIBRARY AND OA_OABASE_LIBRARY IF (OA_INCLUDE_PATH AND OA_OACOMMON_LIBRARY AND OA_OABASE_LIBRARY
AND OA_OADM_LIBRARY AND OA_OATECH_LIBRARY AND OA_OADESIGN_LIBRARY AND OA_OADM_LIBRARY AND OA_OATECH_LIBRARY AND OA_OADESIGN_LIBRARY
AND OA_OAWAFER_LIBRARY AND OA_OAPLUGIN_LIBRARY) AND OA_OAWAFER_LIBRARY AND OA_OAPLUGIN_LIBRARY)
SET(OPENACCESS_FOUND "YES") SET(OA_FOUND "YES")
IF (NOT OA_FIND_QUIETLY) IF (NOT OA_FIND_QUIETLY)
MESSAGE(STATUS "Found OpenAccess") MESSAGE(STATUS "Found OpenAccess")
ENDIF( NOT OA_FIND_QUIETLY) ENDIF( NOT OA_FIND_QUIETLY)
@ -160,7 +160,7 @@ IF(UNIX)
${OA_OAPLUGIN_LIBRARY} ${OA_OAPLUGIN_LIBRARY}
) )
ELSE (OA_INCLUDE_PATH AND OA_LIBRARY_PATH) ELSE (OA_INCLUDE_PATH AND OA_LIBRARY_PATH)
SET(OPENACCESS_FOUND "NO") SET(OA_FOUND "NO")
IF(OA_FIND_REQUIRED) IF(OA_FIND_REQUIRED)
MESSAGE( FATAL_ERROR "OpenAccess libraries, includes NOT found!") MESSAGE( FATAL_ERROR "OpenAccess libraries, includes NOT found!")
ENDIF( OA_FIND_REQUIRED) ENDIF( OA_FIND_REQUIRED)
@ -168,6 +168,8 @@ IF(UNIX)
AND OA_OADM_LIBRARY AND OA_OATECH_LIBRARY AND OA_OADESIGN_LIBRARY AND OA_OADM_LIBRARY AND OA_OATECH_LIBRARY AND OA_OADESIGN_LIBRARY
AND OA_OAWAFER_LIBRARY AND OA_OAPLUGIN_LIBRARY) AND OA_OAWAFER_LIBRARY AND OA_OAPLUGIN_LIBRARY)
SET(OA_FOUND ${OA_FOUND}) IF(OA_FOUND)
ADD_DEFINITIONS(-DHAVE_OPENACCESS)
ENDIF(OA_FOUND)
ENDIF(UNIX) ENDIF(UNIX)