~ubuntu-branches/ubuntu/precise/knemo/precise

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-02-22 16:36:22 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20110222163622-d8i62gy1stn7tydv
Tags: 0.7.0-0ubuntu1
* New upstream release.
* Switch to source format 3.0 (quilt).
* Make knemo depend on libqt4-sql-sqlite.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
project( knemo )
2
2
 
3
 
set( KNEMO_VERSION 0.6.3 )
 
3
set( KNEMO_VERSION 0.7.0 )
4
4
 
5
5
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_PATH})
6
6
 
9
9
include( FindPackageHandleStandardArgs )
10
10
include(MacroOptionalAddSubdirectory)
11
11
 
 
12
set( QT_USE_QTSQL TRUE )
 
13
if ( NOT QT_QTSQL_FOUND )
 
14
    message( FATAL_ERROR "The QtSql development package could not be found. Please install libQtSql." )
 
15
endif( NOT QT_QTSQL_FOUND )
 
16
 
12
17
if ( ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" )
13
 
    find_package( Libnl )
14
 
    macro_log_feature( LIBNL_FOUND "libnl" "Linux netlink sockets library" "http://people.suug.ch/~tgr/libnl/" TRUE "" "" )
 
18
    find_package( Libnl REQUIRED )
15
19
 
16
20
    find_package( Libiw )
17
21
    macro_log_feature( LIBIW_FOUND "libiw" "Linux Wireless Extensions library" "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html" FALSE "" "" )