/usr/share/kde4/apps/cmake/modules/FindGooglegadgets.cmake is in kde-workspace-dev 4:4.8.5-0ubuntu0.4.
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 | # - Try to find Googlegadgets
# Once done this will define
#
# GOOGLEGADGETS_FOUND - system has Googlegadgets
# GOOGLEGADGETS_INCLUDE_DIRS - the Googlegadgets include directory
# GOOGLEGADGETS_LIBRARIES - Link these to use Googlegadgets
# GOOGLEGADGETS_CFLAGS_OTHER - Compiler switches required for using Googlegadgets
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
if ( GOOGLEGADGETS_INCLUDE_DIRS )
# in cache already
SET(Googlegadgets_FIND_QUIETLY TRUE)
endif ( GOOGLEGADGETS_INCLUDE_DIRS )
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
if( NOT WIN32 )
INCLUDE(FindPkgConfig)
PKG_CHECK_MODULES(GOOGLEGADGETS QUIET libggadget-1.0>=0.11.0 libggadget-qt-1.0>=0.11.0)
endif( NOT WIN32 )
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Googlegadgets DEFAULT_MSG GOOGLEGADGETS_LIBRARIES GOOGLEGADGETS_INCLUDE_DIRS)
# show the GOOGLEGADGETS_INCLUDE_DIR and GOOGLEGADGETS_LIBRARIES variables only in the advanced view
MARK_AS_ADVANCED(GOOGLEGADGETS_INCLUDE_DIRS GOOGLEGADGETS_LIBRARIES)
|