Sune Vuorela wrote:

> On 2012-01-17, Yury G.  Kudryashov <[email protected]> wrote:
>>
>> --nextPart3022437.JoNrGlkKet
>> Content-Type: text/plain; charset="ISO-8859-1"
>> Content-Transfer-Encoding: 7Bit
>>
>> Hi!
>>
>> I propose to remove all the compatibility stuff from
>> FindSharedDesktopOntologies.cmake for KF5 (see attachment).
> 
> Wouldn't it be a even better idea to get SDO to provide a
> SharedDesktopOntologiesConfig.cmake file ?
Look at the attached FindSharedDesktopOntologies.cmake. It is a wrapper 
around SharedDesktopOntologiesConfig.cmake.

The new attached version adds feature_summary.
-- 
Yury G. Kudryashov,
mailto: [email protected]
# - Try to find shared-desktop-ontologies
# The shared-desktop-ontologies package is a direct dependancy of the Nepomuk
# semantic desktop system and provides all necessary ontology files like
# RDF, RDFS, NRL, or NIE.
#
# The package is created by the OSCAF project (http://oscaf.sourceforge.net).
#
# Once done this will define
#
#  SHAREDDESKTOPONTOLOGIES_FOUND         - system has shared-desktop-ontologies
#  SHAREDDESKTOPONTOLOGIES_ROOT_DIR      - Folder where the ontologies are stored
#  SHAREDDESKTOPONTOLOGIES_VERSION_MAJOR - The major version number, i.e. '1' in #  '1.2.3'
#  SHAREDDESKTOPONTOLOGIES_VERSION_MINOR - The minor version number, i.e. '2' in #  '1.2.3'
#  SHAREDDESKTOPONTOLOGIES_VERSION_PATCH - The patch version number, i.e. '3' in #  '1.2.3'
#  SHAREDDESKTOPONTOLOGIES_VERSION       - The complete version string, i.e.  #  '1.2' or '1.2.3'
#
# Currently 0.8.1 is the only bugfix release (i.e., a release with _VERSION_PATCH).
#

# Copyright (c) 2009, Sebastian Trueg, <[email protected]>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.

find_package(SharedDesktopOntologies ${SharedDesktopOntologies_FIND_VERSION} QUIET NO_MODULE)

if (SHAREDDESKTOPONTOLOGIES_ROOT_DIR)
  mark_as_advanced(SHAREDDESKTOPONTOLOGIES_ROOT_DIR)
endif (SHAREDDESKTOPONTOLOGIES_ROOT_DIR)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(SharedDesktopOntologies REQUIRED_VARS SHAREDDESKTOPONTOLOGIES_ROOT_DIR VERSION_VAR SHAREDDESKTOPONTOLOGIES_VERSION)

include(FeatureSummary)
set_package_properties(SharedDesktopOntologies PROPERTIES
  URL http://sourceforge.net/apps/trac/oscaf/
  DESCRIPTION "A set of RDF vocabularies for the Semantic Desktop")

_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to