-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bumped version to 0.2.5
- Loading branch information
Showing
159 changed files
with
54,697 additions
and
890 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.2.4 | ||
0.2.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
IF (NOT MSVC) | ||
INCLUDE(FindPkgConfig) | ||
PKG_SEARCH_MODULE( GLIB2 REQUIRED glib-2.0 ) | ||
IF(WIN32 AND NOT BUILD_STATIC) | ||
FIND_FILE(GLIB2_DLL | ||
NAMES glib-2.dll glib-2-vs9.dll libglib-2.0-0.dll | ||
PATHS "${GLIB2_LIBRARY_DIRS}/../bin" | ||
NO_SYSTEM_ENVIRONMENT_PATH) | ||
ENDIF() | ||
ENDIF() | ||
|
||
IF (NOT GLIB2_FOUND OR NOT PKG_CONFIG_FOUND) | ||
FIND_PATH(GLIB2_GLIB2CONFIG_INCLUDE_PATH | ||
NAMES glibconfig.h | ||
PATHS | ||
/usr/local/lib | ||
/usr/lib | ||
/usr/lib64 | ||
/opt/local/lib | ||
${GLIB2_BASE_DIR}/lib | ||
${CMAKE_LIBRARY_PATH} | ||
PATH_SUFFIXES glib-2.0/include | ||
) | ||
|
||
|
||
FIND_PATH(GLIB2_INCLUDE_DIRS | ||
NAMES glib.h | ||
PATHS | ||
/usr/local/include | ||
/usr/include | ||
/opt/local/include | ||
${GLIB2_BASE_DIR}/include | ||
PATH_SUFFIXES gtk-2.0 glib-2.0 glib20 | ||
) | ||
|
||
FIND_LIBRARY(GLIB2_LIBRARIES | ||
NAMES glib-2.0 glib20 glib | ||
PATHS | ||
/usr/local/lib | ||
/usr/lib | ||
/usr/lib64 | ||
/opt/local/lib | ||
${GLIB2_BASE_DIR}/lib | ||
) | ||
|
||
IF(GLIB2_GLIB2CONFIG_INCLUDE_PATH AND GLIB2_INCLUDE_DIRS AND GLIB2_LIBRARIES) | ||
SET( GLIB2_INCLUDE_DIRS ${GLIB2_GLIB2CONFIG_INCLUDE_PATH} ${GLIB2_INCLUDE_DIRS} ) | ||
SET( GLIB2_LIBRARIES ${GLIB2_LIBRARIES} ) | ||
SET( GLIB2_FOUND 1 ) | ||
ELSE() | ||
SET( GLIB2_INCLUDE_DIRS ) | ||
SET( GLIB2_LIBRARIES ) | ||
SET( GLIB2_FOUND 0) | ||
ENDIF() | ||
|
||
IF(WIN32 AND NOT BUILD_STATIC) | ||
FIND_FILE(GLIB2_DLL | ||
NAMES glib-2.dll glib-2-vs9.dll libglib-2.0-0.dll | ||
PATHS "${GLIB2_BASE_DIR}/bin" | ||
NO_SYSTEM_ENVIRONMENT_PATH) | ||
ENDIF() | ||
ENDIF () | ||
|
||
#INCLUDE( FindPackageHandleStandardArgs ) | ||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS( GLIB2 DEFAULT_MSG GLIB2_LIBRARIES GLIB2_GLIB2CONFIG_INCLUDE_PATH GLIB2_GLIB2_INCLUDE_PATH ) | ||
|
||
IF (NOT GLIB2_FOUND AND GLIB2_FIND_REQUIRED) | ||
MESSAGE(FATAL_ERROR "Could not find glib2") | ||
ENDIF() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# - 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 gtkmacintegration-gtk2) | ||
mark_as_advanced(MACINTEGRATION_INCLUDE_DIR) | ||
|
||
set(MACINTEGRATION_NAMES ${MACINTEGRATION_NAMES} gtkmacintegration libgtkmacintegration gtkmacintegration-gtk2 libgtkmacintegration-gtk2) | ||
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.