OpenAccess env in progress
This commit is contained in:
parent
a387532310
commit
865d1bde2a
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue