summaryrefslogtreecommitdiff
path: root/cmake/modules/FindGLIB2.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/FindGLIB2.cmake')
-rw-r--r--cmake/modules/FindGLIB2.cmake33
1 files changed, 0 insertions, 33 deletions
diff --git a/cmake/modules/FindGLIB2.cmake b/cmake/modules/FindGLIB2.cmake
index 19d4f8e87f..9869861e78 100644
--- a/cmake/modules/FindGLIB2.cmake
+++ b/cmake/modules/FindGLIB2.cmake
@@ -168,34 +168,6 @@ else (GLIB2_LIBRARIES AND GLIB2_INCLUDE_DIRS)
endif (LIBINTL_LIBRARY AND LIBINTL_INCLUDE_DIR)
##
- ## libiconv
- find_path(LIBICONV_INCLUDE_DIR
- NAMES
- iconv.h
- PATHS
- /opt/gnome/include/glib-2.0
- /usr/include/glib-2.0
- /usr/local/include/glib-2.0
- /opt/local/include/glib-2.0
- /sw/include/glib-2.0
- )
-
- find_library(LIBICONV_LIBRARY
- NAMES
- iconv
- PATHS
- /opt/gnome/lib
- /usr/lib
- /usr/local/lib
- /opt/local/lib
- /sw/lib
- )
-
- if (LIBICONV_LIBRARY AND LIBICONV_INCLUDE_DIR)
- set(LIBICONV_FOUND TRUE)
- endif (LIBICONV_LIBRARY AND LIBICONV_INCLUDE_DIR)
- ##
-
set(GLIB2_INCLUDE_DIRS
${GLIB_INCLUDE_DIR}
${GLIBCONFIG_INCLUDE_DIR}
@@ -219,11 +191,6 @@ else (GLIB2_LIBRARIES AND GLIB2_INCLUDE_DIRS)
set(GLIB2_INCLUDE_DIRS ${GLIB2_INCLUDE_DIRS} ${LIBINTL_INCLUDE_DIR})
endif (LIBINTL_FOUND)
- if (LIBICONV_FOUND)
- set(GLIB2_LIBRARIES ${GLIB2_LIBRARIES} ${LIBICONV_LIBRARY})
- set(GLIB2_INCLUDE_DIRS ${GLIB2_INCLUDE_DIRS} ${LIBICONV_INCLUDE_DIR})
- endif (LIBICONV_FOUND)
-
if (GLIB2_INCLUDE_DIRS AND GLIB2_LIBRARIES)
set(GLIB2_FOUND TRUE)
endif (GLIB2_INCLUDE_DIRS AND GLIB2_LIBRARIES)