cmake/Modules/FindEvsql.cmake
author Tero Marttila <terom@fixme.fi>
Fri, 15 May 2009 00:05:01 +0300
changeset 200 c414343101df
parent 68 591a574f390e
permissions -rw-r--r--
don't keep console SIGINT behaviour after it was destroyed, instead, have nexus handle it like SIGTERM, and have console override that
# Find evsql
# Once done, this will define:
#
#   Evsql_FOUND
#   Evsql_INCLUDE_DIRS
#   Evsql_LIBRARIES
#

include (LibFindMacros)

# include dir
find_path (Evsql_INCLUDE_DIR
    NAMES "evsql.h"
)

# library
find_library (Evsql_LIBRARY
    NAMES "evsql"
)

# set the external vars
set (Evsql_PROCESS_INCLUDES Evsql_INCLUDE_DIR)
set (Evsql_PROCESS_LIBS Evsql_LIBRARY)
libfind_process (Evsql)