OpenAccess CMake macro

This commit is contained in:
The Coriolis Project 2008-08-20 15:41:49 +00:00
parent 423fc9ea6e
commit 231554bf04
1 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ IF(UNIX)
# #
# Look for an installation. # Look for an installation.
# #
FIND_PATH(OPENACCESS_INCLUDE_PATH NAMES oa/oaBase.h PATHS FIND_PATH(OPENACCESS_INCLUDE_PATH NAMES oa/oaDesign.h PATHS
# Look in other places. # Look in other places.
${OPENACCESS_DIR_SEARCH} ${OPENACCESS_DIR_SEARCH}
PATH_SUFFIXES include PATH_SUFFIXES include
@ -30,9 +30,9 @@ IF(UNIX)
) )
FIND_LIBRARY(OPENACCESS_LIBRARY_PATH FIND_LIBRARY(OPENACCESS_LIBRARY_PATH
NAMES oaLib NAMES oaDesignD
PATHS ${OPENACCESS_DIR_SEARCH} PATHS ${OPENACCESS_DIR_SEARCH}
PATH_SUFFIXES lib PATH_SUFFIXES lib/linux_rhel30_64/dbg #for the moment...
# Help the user find it if we cannot. # Help the user find it if we cannot.
DOC "The ${OPENACCESS_INCLUDE_PATH_DESCRIPTION}" DOC "The ${OPENACCESS_INCLUDE_PATH_DESCRIPTION}"
) )