Commit b1555317 authored by Andrea Valassi's avatar Andrea Valassi
Browse files

Add Libaio to cmake and to the environment setup (CORALCOOL-2955).

This is especially needed for Ubuntu (CORALCOOL-2928)


git-svn-id: file:///git/lcgcool.svndb/cool/trunk@20182 4525493e-7705-40b1-a816-d608a930855b
parent 7d143c8d
# - Locate libaio library
# Defines:
#
# LIBAIO_FOUND
# LIBAIO_LIBRARIES
# LIBAIO_LIBRARY_DIRS (not cached)
find_library(LIBAIO_LIBRARIES NAMES aio)
get_filename_component(LIBAIO_LIBRARY_DIRS ${LIBAIO_LIBRARIES} PATH)
# handle the QUIETLY and REQUIRED arguments and set LIBAIO_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Libaio DEFAULT_MSG LIBAIO_LIBRARIES)
mark_as_advanced(LIBAIO_FOUND LIBAIO_LIBRARIES)
......@@ -14,6 +14,7 @@ find_path(ORACLE_INCLUDE_DIR oci.h)
find_library(ORACLE_LIBRARY NAMES clntsh oci)
find_program(SQLPLUS_EXECUTABLE NAMES sqlplus
HINTS ${ORACLE_INCLUDE_DIR}/../bin)
find_package(Libaio)
# handle the QUIETLY and REQUIRED arguments and set ORACLE_FOUND to TRUE if
# all listed variables are TRUE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment