swh:1:snp:c7c108084bc0bf3d81436bf980b46e98bd338453
Raw File
Tip revision: 7b0b3e1a5a100a7a65551d57527d9140c5e4cb0e authored by johannes hanika on 23 December 2013, 16:25:22 UTC
Revert "release: remove stale translations and update release notes."
Tip revision: 7b0b3e1
FindMacIntegration.cmake
# - Find the native GtkOSXApplication includes and library
#
# This module defines
#  MACINTEGRATION_INCLUDE_DIR, where to find gtkosxapplication.h, etc.
#  MACINTEGRATION_LIBRARIES, the libraries to link against to use GtkOSXApplication.
#  MACINTEGRATION_FOUND, If false, do not try to use GtkOSXApplication.
# also defined, but not for general use are
#  MACINTEGRATION_LIBRARY, where to find the GtkOSXApplication library.


#=============================================================================
# Copyright 2010 henrik andersson
#=============================================================================

SET(MACINTEGRATION_FIND_REQUIRED ${MacIntegration_FIND_REQUIRED})

find_path(MACINTEGRATION_INCLUDE_DIR gtkosxapplication.h PATH_SUFFIXES gtkmacintegration)
mark_as_advanced(MACINTEGRATION_INCLUDE_DIR)

set(MACINTEGRATION_NAMES ${MACINTEGRATION_NAMES} gtkmacintegration libgtkmacintegration)
find_library(MACINTEGRATION_LIBRARY NAMES ${MACINTEGRATION_NAMES} )
mark_as_advanced(MACINTEGRATION_LIBRARY)

# handle the QUIETLY and REQUIRED arguments and set MACINTEGRATION_FOUND to TRUE if
# all listed variables are TRUE
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(MACINTEGRATION DEFAULT_MSG MACINTEGRATION_LIBRARY MACINTEGRATION_INCLUDE_DIR)

IF(MACINTEGRATION_FOUND)
  SET(MacIntegration_LIBRARIES ${MACINTEGRATION_LIBRARY})
  SET(MacIntegration_INCLUDE_DIRS ${MACINTEGRATION_INCLUDE_DIR})
ENDIF(MACINTEGRATION_FOUND)
back to top