/usr/share/kde4/apps/cmake/modules/FindBODEGA.cmake is in libbodega-dev 0.2-0ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | # Find Bodega - library to access the Bodega store
#
# This module defines
# BODEGA_FOUND - whether the qsjon library was found
# BODEGA_LIBRARIES - the bodega library
# BODEGA_INCLUDE_DIR - the include path of the bodega library
#
if (BODEGA_INCLUDE_DIR AND BODEGA_LIBRARIES)
# Already in cache
set (BODEGA_FOUND TRUE)
else (BODEGA_INCLUDE_DIR AND BODEGA_LIBRARIES)
if (NOT WIN32)
# use pkg-config to get the values of BODEGA_INCLUDE_DIRS
# and BODEGA_LIBRARY_DIRS to add as hints to the find commands.
include (FindPkgConfig)
pkg_check_modules (BODEGA Bodega>=0.1)
endif (NOT WIN32)
find_library (BODEGA_LIBRARIES
NAMES
bodega
PATHS
${BODEGA_LIBRARY_DIRS}
${LIB_INSTALL_DIR}
${KDE4_LIB_DIR}
)
find_path (BODEGA_INCLUDE_DIR
NAMES
session.h
PATH_SUFFIXES
bodega
PATHS
${BODEGA_INCLUDE_DIRS}
${INCLUDE_INSTALL_DIR}
${KDE4_INCLUDE_DIR}
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(BODEGA DEFAULT_MSG BODEGA_LIBRARIES BODEGA_INCLUDE_DIR)
endif (BODEGA_INCLUDE_DIR AND BODEGA_LIBRARIES)
|