~ps-jenkins/libdbusmenu-qt/utopic-proposed

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: CI bot
  • Author(s): Aurélien Gâteau
  • Date: 2014-06-19 09:07:07 UTC
  • mfrom: (264.2.1 define-include-dir)
  • Revision ID: ps-jenkins@lists.canonical.com-20140619090707-63vtyv8ox9gzjql2
With this change, users of dbusmenu-qt no longer need to call include_directories(${dbusmenu-qt5_INCLUDE_DIRS}). Simply adding dbusmenu-qt5 to the target_link_libraries() call takes care of defining the include directory.

This requires CMake 2.8.11, so I bumped the minimum version numbers accordingly. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
project(dbusmenu-qt)
2
 
cmake_minimum_required(VERSION 2.8.0)
 
2
cmake_minimum_required(VERSION 2.8.11)
3
3
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules")
4
4
 
5
5
# Build options