~ubuntu-branches/debian/sid/kexi/sid

« back to all changes in this revision

Viewing changes to cmake/modules/FindXBase.cmake

  • Committer: Package Import Robot
  • Author(s): Pino Toscano
  • Date: 2017-06-24 20:10:10 UTC
  • Revision ID: package-import@ubuntu.com-20170624201010-5lrzd5r2vwthwifp
Tags: upstream-3.0.1.1
ImportĀ upstreamĀ versionĀ 3.0.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# - Try to find the XBase library 
 
2
# Once done this will define
 
3
#
 
4
#  XBase_FOUND - system has XBase
 
5
#  XBase_INCLUDE_DIR - the XBase include directory
 
6
#  XBase_LIBRARIES - Link these to use XBase
 
7
 
 
8
 
 
9
if (XBase_INCLUDE_DIR AND XBase_LIBRARIES )
 
10
 
 
11
        # Already in cache
 
12
        SET(XBASE_FOUND TRUE)
 
13
 
 
14
else ()
 
15
 
 
16
       find_path(XBase_INCLUDE_DIR NAMES xbase.h
 
17
        PATHS /usr/include/xbase /usr/local/include/xbase
 
18
       )
 
19
 
 
20
       find_library(XBase_LIBRARIES NAMES xbase )
 
21
 
 
22
       include(FindPackageHandleStandardArgs)
 
23
       find_package_handle_standard_args(XBase DEFAULT_MSG XBase_INCLUDE_DIR XBase_LIBRARIES )
 
24
 
 
25
       mark_as_advanced(XBase_INCLUDE_DIR XBase_LIBRARIES)
 
26
 
 
27
endif ()
 
28