Index: cmake/modules/FindCARES.cmake
===================================================================
--- cmake/modules/FindCARES.cmake	(revision 50862)
+++ cmake/modules/FindCARES.cmake	(working copy)
@@ -14,11 +14,16 @@
   SET(CARES_FIND_QUIETLY TRUE)
 ENDIF (CARES_INCLUDE_DIRS)
 
-FIND_PATH(CARES_INCLUDE_DIR ares.h)
+IF(WIN32)
+  INCLUDE(FindWSWinLibs)
+  FindWSWinLibs("c-ares-.*" "CARES_HINTS")
+ENDIF(WIN32)
 
-SET(CARES_NAMES cares)
-FIND_LIBRARY(CARES_LIBRARY NAMES ${CARES_NAMES} )
+FIND_PATH(CARES_INCLUDE_DIR ares.h HINTS "${CARES_HINTS}/include" )
 
+SET(CARES_NAMES cares libcares-2)
+FIND_LIBRARY(CARES_LIBRARY NAMES ${CARES_NAMES} HINTS "${CARES_HINTS}/lib" )
+
 # handle the QUIETLY and REQUIRED arguments and set CARES_FOUND to TRUE if 
 # all listed variables are TRUE
 INCLUDE(FindPackageHandleStandardArgs)
Index: cmake/modules/FindFreetype.cmake
===================================================================
--- cmake/modules/FindFreetype.cmake	(revision 0)
+++ cmake/modules/FindFreetype.cmake	(working copy)
@@ -0,0 +1,136 @@
+#
+# $Id: FindGLIB2.cmake 38361 2011-08-05 12:25:54Z jmayer $
+#
+# - Locate FreeType library
+# This module defines
+#  FREETYPE_LIBRARIES, the library to link against
+#  FREETYPE_FOUND, if false, do not try to link to FREETYPE
+#  FREETYPE_INCLUDE_DIRS, where to find headers.
+#  FREETYPE_VERSION_STRING, the version of freetype found (since CMake 2.8.8)
+#  This is the concatenation of the paths:
+#  FREETYPE_INCLUDE_DIR_ft2build
+#  FREETYPE_INCLUDE_DIR_freetype2
+#
+# $FREETYPE_DIR is an environment variable that would
+# correspond to the ./configure --prefix=$FREETYPE_DIR
+# used in building FREETYPE.
+
+#=============================================================================
+# Copyright 2007-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distribute this file outside of CMake, substitute the full
+#  License text for the above reference.)
+
+# Created by Eric Wing.
+# Modifications by Alexander Neundorf.
+# This file has been renamed to "FindFreetype.cmake" instead of the correct
+# "FindFreeType.cmake" in order to be compatible with the one from KDE4, Alex.
+
+# Ugh, FreeType seems to use some #include trickery which
+# makes this harder than it should be. It looks like they
+# put ft2build.h in a common/easier-to-find location which
+# then contains a #include to a more specific header in a
+# more specific location (#include <freetype/config/ftheader.h>).
+# Then from there, they need to set a bunch of #define's
+# so you can do something like:
+# #include FT_FREETYPE_H
+# Unfortunately, using CMake's mechanisms like include_directories()
+# wants explicit full paths and this trickery doesn't work too well.
+# I'm going to attempt to cut out the middleman and hope
+# everything still works.
+
+IF(WIN32)
+  INCLUDE(FindWSWinLibs)
+  FindWSWinLibs("gtk2" "FREETYPE_HINTS")
+ENDIF(WIN32)
+
+find_path(FREETYPE_INCLUDE_DIR_ft2build ft2build.h
+  HINTS
+    ENV FREETYPE_DIR
+  PATHS
+    /usr/X11R6
+    /usr/local/X11R6
+    /usr/local/X11
+    /usr/freeware
+  PATH_SUFFIXES include/freetype2 include
+  HINTS "${FREETYPE_HINTS}"
+)
+
+find_path(FREETYPE_INCLUDE_DIR_freetype2 freetype/config/ftheader.h
+  HINTS
+    ENV FREETYPE_DIR
+  PATHS
+    /usr/X11R6
+    /usr/local/X11R6
+    /usr/local/X11
+    /usr/freeware
+  PATH_SUFFIXES include/freetype2 include
+  HINTS "${FREETYPE_HINTS}"
+)
+
+find_library(FREETYPE_LIBRARY
+  NAMES freetype libfreetype freetype219
+  HINTS
+    ENV FREETYPE_DIR
+  PATH_SUFFIXES lib
+  PATHS
+  /usr/X11R6
+  /usr/local/X11R6
+  /usr/local/X11
+  /usr/freeware
+  HINTS "${FREETYPE_HINTS}"
+)
+
+# set the user variables
+if(FREETYPE_INCLUDE_DIR_ft2build AND FREETYPE_INCLUDE_DIR_freetype2)
+  set(FREETYPE_INCLUDE_DIRS "${FREETYPE_INCLUDE_DIR_ft2build};${FREETYPE_INCLUDE_DIR_freetype2}")
+endif()
+set(FREETYPE_LIBRARIES "${FREETYPE_LIBRARY}")
+
+if(FREETYPE_INCLUDE_DIR_freetype2 AND EXISTS "${FREETYPE_INCLUDE_DIR_freetype2}/freetype/freetype.h")
+    file(STRINGS "${FREETYPE_INCLUDE_DIR_freetype2}/freetype/freetype.h" freetype_version_str
+         REGEX "^#[\t ]*define[\t ]+FREETYPE_(MAJOR|MINOR|PATCH)[\t ]+[0-9]+$")
+
+    unset(FREETYPE_VERSION_STRING)
+    foreach(VPART MAJOR MINOR PATCH)
+        foreach(VLINE ${freetype_version_str})
+            if(VLINE MATCHES "^#[\t ]*define[\t ]+FREETYPE_${VPART}")
+                string(REGEX REPLACE "^#[\t ]*define[\t ]+FREETYPE_${VPART}[\t ]+([0-9]+)$" "\\1"
+                       FREETYPE_VERSION_PART "${VLINE}")
+                if(FREETYPE_VERSION_STRING)
+                    set(FREETYPE_VERSION_STRING "${FREETYPE_VERSION_STRING}.${FREETYPE_VERSION_PART}")
+                else()
+                    set(FREETYPE_VERSION_STRING "${FREETYPE_VERSION_PART}")
+                endif()
+                unset(FREETYPE_VERSION_PART)
+            endif()
+        endforeach()
+    endforeach()
+endif()
+
+
+# handle the QUIETLY and REQUIRED arguments and set FREETYPE_FOUND to TRUE if
+# all listed variables are TRUE
+include(FindPackageHandleStandardArgs)
+if(WIN32)
+# Win32 doesn't require a freetype library
+    FIND_PACKAGE_HANDLE_STANDARD_ARGS(Freetype
+                                      REQUIRED_VARS FREETYPE_INCLUDE_DIRS
+                                      VERSION_VAR FREETYPE_VERSION_STRING)
+else(WIN32)
+    FIND_PACKAGE_HANDLE_STANDARD_ARGS(Freetype
+                                      REQUIRED_VARS FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS
+                                      VERSION_VAR FREETYPE_VERSION_STRING)
+endif(WIN32)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(Freetype
+                                  REQUIRED_VARS FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS
+                                  VERSION_VAR FREETYPE_VERSION_STRING)
+
+mark_as_advanced(FREETYPE_LIBRARY FREETYPE_INCLUDE_DIR_freetype2 FREETYPE_INCLUDE_DIR_ft2build)
Index: cmake/modules/FindGCRYPT.cmake
===================================================================
--- cmake/modules/FindGCRYPT.cmake	(revision 50862)
+++ cmake/modules/FindGCRYPT.cmake	(working copy)
@@ -14,12 +14,17 @@
   SET(GCRYPT_FIND_QUIETLY TRUE)
 ENDIF (GCRYPT_INCLUDE_DIRS)
 
-FIND_PATH(GCRYPT_INCLUDE_DIR gcrypt.h)
+IF(WIN32)
+  INCLUDE(FindWSWinLibs)
+  FindWSWinLibs("gnutls-.*" "GCRYPT_HINTS")
+ENDIF(WIN32)
 
-SET(GCRYPT_NAMES gcrypt)
-FIND_LIBRARY(GCRYPT_LIBRARY NAMES ${GCRYPT_NAMES} )
-FIND_LIBRARY(GCRYPT_ERROR_LIBRARY NAMES gpg-error )
+FIND_PATH(GCRYPT_INCLUDE_DIR gcrypt.h HINTS "${GCRYPT_HINTS}/include")
 
+SET(GCRYPT_NAMES gcrypt libgcrypt-11)
+FIND_LIBRARY(GCRYPT_LIBRARY NAMES ${GCRYPT_NAMES} HINTS "${GCRYPT_HINTS}/bin")
+FIND_LIBRARY(GCRYPT_ERROR_LIBRARY NAMES gpg-error libgpg-error-0 HINTS "${GCRYPT_HINTS}/bin")
+
 # handle the QUIETLY and REQUIRED arguments and set GCRYPT_FOUND to TRUE if 
 # all listed variables are TRUE
 INCLUDE(FindPackageHandleStandardArgs)
Index: cmake/modules/FindGEOIP.cmake
===================================================================
--- cmake/modules/FindGEOIP.cmake	(revision 50862)
+++ cmake/modules/FindGEOIP.cmake	(working copy)
@@ -14,11 +14,16 @@
   SET(GEOIP_FIND_QUIETLY TRUE)
 ENDIF (GEOIP_INCLUDE_DIRS)
 
-FIND_PATH(GEOIP_INCLUDE_DIR GeoIP.h)
+IF(WIN32)
+  INCLUDE(FindWSWinLibs)
+  FindWSWinLibs("GeoIP-.*" "GEOIP_HINTS")
+ENDIF(WIN32)
 
-SET(GEOIP_NAMES GeoIP)
-FIND_LIBRARY(GEOIP_LIBRARY NAMES ${GEOIP_NAMES} )
+FIND_PATH(GEOIP_INCLUDE_DIR GeoIP.h HINTS "${GEOIP_HINTS}/include" )
 
+SET(GEOIP_NAMES GeoIP libGeoIP-1)
+FIND_LIBRARY(GEOIP_LIBRARY NAMES ${GEOIP_NAMES} HINTS "${GEOIP_HINTS}/lib" )
+
 # handle the QUIETLY and REQUIRED arguments and set GEOIP_FOUND to TRUE if 
 # all listed variables are TRUE
 INCLUDE(FindPackageHandleStandardArgs)
Index: cmake/modules/FindGLIB2.cmake
===================================================================
--- cmake/modules/FindGLIB2.cmake	(revision 50862)
+++ cmake/modules/FindGLIB2.cmake	(working copy)
@@ -23,6 +23,10 @@
 #  For details see the accompanying COPYING-CMAKE-SCRIPTS file.
 #
 
+IF(WIN32)
+  INCLUDE(FindWSWinLibs)
+  FindWSWinLibs("gtk2" "GLIB2_HINTS")
+ENDIF(WIN32)
 
 IF (GLIB2_LIBRARIES AND GLIB2_INCLUDE_DIRS )
   # in cache already
@@ -69,6 +73,8 @@
     ${CMAKE_LIBRARY_PATH}
   PATH_SUFFIXES
     glib-2.0/include
+  HINTS
+    "${GLIB2_HINTS}/lib"
   )
 
   FIND_PATH(
@@ -84,6 +90,8 @@
     /usr/local/include
   PATH_SUFFIXES
     glib-2.0
+  HINTS
+    "${GLIB2_HINTS}/include"
   )
 
   #MESSAGE(STATUS "Glib headers: ${_glib2_include_DIR}")
@@ -101,6 +109,8 @@
     /sw/lib
     /usr/lib
     /usr/local/lib
+  HINTS
+    "${GLIB2_HINTS}/lib"
   )
   IF ( _glib2_include_DIR AND _glib2_link_DIR )
       SET ( _glib2_FOUND TRUE )
Index: cmake/modules/FindGMODULE2.cmake
===================================================================
--- cmake/modules/FindGMODULE2.cmake	(revision 50862)
+++ cmake/modules/FindGMODULE2.cmake	(working copy)
@@ -31,12 +31,18 @@
 
 
 IF( NOT GMODULE2_FOUND AND NOT PKG_CONFIG_FOUND )
-	FIND_PATH( GMODULE2_INCLUDE_DIRS gmodule.h PATH_SUFFIXES glib-2.0 )
 
+    IF(WIN32)
+        INCLUDE(FindWSWinLibs)
+        FindWSWinLibs("gtk2" "GMODULE2_HINTS")
+    ENDIF(WIN32)
+
+	FIND_PATH( GMODULE2_INCLUDE_DIRS gmodule.h PATH_SUFFIXES glib-2.0 HINTS "${GMODULE2_HINTS}/include" )
+
 	IF ( APPLE )
 		FIND_LIBRARY( GMODULE2_LIBRARIES glib )
 	ELSE ( APPLE )
-		FIND_LIBRARY( GMODULE2_LIBRARIES NAMES gmodule-2.0 gmodule )
+		FIND_LIBRARY( GMODULE2_LIBRARIES NAMES gmodule-2.0 gmodule HINTS "${GMODULE2_HINTS}/lib" )
 	ENDIF (APPLE)
 
 	# Report results
Index: cmake/modules/FindGNUTLS.cmake
===================================================================
--- cmake/modules/FindGNUTLS.cmake	(revision 50862)
+++ cmake/modules/FindGNUTLS.cmake	(working copy)
@@ -14,15 +14,21 @@
   SET(GNUTLS_FIND_QUIETLY TRUE)
 ENDIF (GNUTLS_INCLUDE_DIRS)
 
+IF(WIN32)
+  INCLUDE(FindWSWinLibs)
+  FindWSWinLibs("gnutls-.*" "GNUTLS_HINTS")
+ENDIF(WIN32)
+
 FIND_PATH(GNUTLS_INCLUDE_DIR
 	NAMES
 	  gnutls.h
 	  gnutls/gnutls.h
 #	PATHS
+    HINTS "${GNUTLS_HINTS}/include"
 )
 
-SET(GNUTLS_NAMES gnutls)
-FIND_LIBRARY(GNUTLS_LIBRARY NAMES ${GNUTLS_NAMES} )
+SET(GNUTLS_NAMES gnutls libgnutls-26)
+FIND_LIBRARY(GNUTLS_LIBRARY NAMES ${GNUTLS_NAMES} HINTS "${GNUTLS_HINTS}/bin" )
 
 # handle the QUIETLY and REQUIRED arguments and set GNUTLS_FOUND to TRUE if 
 # all listed variables are TRUE
Index: cmake/modules/FindGTHREAD2.cmake
===================================================================
--- cmake/modules/FindGTHREAD2.cmake	(revision 50862)
+++ cmake/modules/FindGTHREAD2.cmake	(working copy)
@@ -31,11 +31,17 @@
 
 
 IF( NOT GTHREAD2_FOUND AND NOT PKG_CONFIG_FOUND )
-	FIND_PATH( GTHREAD2_INCLUDE_DIRS gthread.h PATH_SUFFIXES glib-2.0 glib GLib.framework/Headers/glib )
+
+    IF(WIN32)
+        INCLUDE(FindWSWinLibs)
+        FindWSWinLibs("gtk2" "GTHREAD2_HINTS")
+    ENDIF(WIN32)
+
+	FIND_PATH( GTHREAD2_INCLUDE_DIRS gthread.h PATH_SUFFIXES glib-2.0 glib GLib.framework/Headers/glib glib-2.0/glib HINTS "${GTHREAD2_HINTS}/include" )
 	IF ( APPLE ) 
 		FIND_LIBRARY( GTHREAD2_LIBRARIES glib )
 	ELSE ( APPLE )
-		FIND_LIBRARY( GTHREAD2_LIBRARIES gthread-2.0 )
+		FIND_LIBRARY( GTHREAD2_LIBRARIES gthread-2.0 HINTS "${GTHREAD2_HINTS}/lib" )
 	ENDIF ( APPLE )
 	
 	#MESSAGE( STATUS "Gthread headers: ${GTHREAD2_INCLUDE_DIRS}" )
Index: cmake/modules/FindGTK2.cmake
===================================================================
--- cmake/modules/FindGTK2.cmake	(revision 50862)
+++ cmake/modules/FindGTK2.cmake	(working copy)
@@ -105,6 +105,11 @@
 # Version 0.5 (12/19/08)
 #   Second release to cmake mailing list
 
+IF(WIN32)
+  INCLUDE(FindWSWinLibs)
+  FindWSWinLibs("gtk2" "GTK2_HINTS")
+ENDIF(WIN32)
+
 #=============================================================
 # _GTK2_GET_VERSION
 # Internal function to parse the version number in gtkversion.h
@@ -206,6 +211,9 @@
             [HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path]/lib
         PATH_SUFFIXES
             ${_suffixes}
+        HINTS
+            "${GTK2_HINTS}/include"
+            "${GTK2_HINTS}/lib"
     )
 
     if(${_var})
@@ -313,6 +321,8 @@
             $ENV{GTKMM_BASEPATH}/lib
             [HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path]/lib
             [HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path]/lib
+        HINTS
+            "${GTK2_HINTS}/lib"
         )
 
     if(_expand_vc AND MSVC)
@@ -419,7 +429,9 @@
 
 find_package(Freetype)
 list(APPEND GTK2_INCLUDE_DIRS ${FREETYPE_INCLUDE_DIRS})
-list(APPEND GTK2_LIBRARIES ${FREETYPE_LIBRARIES})
+if(NOT WIN32)
+    list(APPEND GTK2_LIBRARIES ${FREETYPE_LIBRARIES})
+endif(NOT WIN32)
 
 foreach(_GTK2_component ${GTK2_FIND_COMPONENTS})
     if(_GTK2_component STREQUAL "gtk")
Index: cmake/modules/FindKERBEROS.cmake
===================================================================
--- cmake/modules/FindKERBEROS.cmake	(revision 50862)
+++ cmake/modules/FindKERBEROS.cmake	(working copy)
@@ -14,11 +14,16 @@
   SET(KERBEROS_FIND_QUIETLY TRUE)
 ENDIF (KERBEROS_INCLUDE_DIRS)
 
-FIND_PATH(KERBEROS_INCLUDE_DIR krb5.h)
+IF(WIN32)
+  INCLUDE(FindWSWinLibs)
+  FindWSWinLibs("kfw-.*" "KERBOROS_HINTS")
+ENDIF(WIN32)
 
-SET(KERBEROS_NAMES krb5)
-FIND_LIBRARY(KERBEROS_LIBRARY NAMES ${KERBEROS_NAMES} )
+FIND_PATH(KERBEROS_INCLUDE_DIR krb5.h HINTS "${KERBOROS_HINTS}/include" )
 
+SET(KERBEROS_NAMES krb5 krb5_32)
+FIND_LIBRARY(KERBEROS_LIBRARY NAMES ${KERBEROS_NAMES} HINTS "${KERBOROS_HINTS}/lib" )
+
 # handle the QUIETLY and REQUIRED arguments and set KERBEROS_FOUND to TRUE if 
 # all listed variables are TRUE
 INCLUDE(FindPackageHandleStandardArgs)
Index: cmake/modules/FindLUA.cmake
===================================================================
--- cmake/modules/FindLUA.cmake	(revision 50862)
+++ cmake/modules/FindLUA.cmake	(working copy)
@@ -14,10 +14,15 @@
 # This is because, the lua location is not standardized and may exist
 # in locations other than lua/
 
+IF(WIN32)
+  INCLUDE(FindWSWinLibs)
+  FindWSWinLibs("lua5*" "LUA_HINTS")
+ENDIF(WIN32)
 
 FIND_PATH(LUA_INCLUDE_DIR lua.h
   HINTS
   $ENV{LUA_DIR}
+  ${LUA_HINTS}
   PATH_SUFFIXES include/lua52 include/lua5.2 include/lua51 include/lua5.1 include/lua include
   PATHS
   ~/Library/Frameworks
@@ -49,6 +54,7 @@
   NAMES lua${LUA_INC_SUFFIX} lua52 lua5.2 lua51 lua5.1 lua
   HINTS
   $ENV{LUA_DIR}
+  ${LUA_HINTS}
   PATH_SUFFIXES lib64 lib
   PATHS
   ~/Library/Frameworks
Index: cmake/modules/FindPCAP.cmake
===================================================================
--- cmake/modules/FindPCAP.cmake	(revision 50862)
+++ cmake/modules/FindPCAP.cmake	(working copy)
@@ -68,15 +68,26 @@
 
 
 ELSE(EXISTS $ENV{PCAPDIR})
+
+  IF(WIN32)
+    INCLUDE(FindWSWinLibs)
+    FindWSWinLibs("WpdPack" "PCAP_HINTS")
+  ENDIF(WIN32)
+
   FIND_PATH(PCAP_INCLUDE_DIR
     NAMES
     pcap/pcap.h
     pcap.h
+    HINTS 
+      "${PCAP_HINTS}/include"
   )
 
   FIND_LIBRARY(PCAP_LIBRARY
     NAMES
       pcap
+      wpcap
+    HINTS
+      "${PCAP_HINTS}/lib"
   )
 
 ENDIF(EXISTS $ENV{PCAPDIR})
Index: cmake/modules/FindPORTAUDIO.cmake
===================================================================
--- cmake/modules/FindPORTAUDIO.cmake	(revision 50862)
+++ cmake/modules/FindPORTAUDIO.cmake	(working copy)
@@ -14,8 +14,13 @@
   SET(PORTAUDIO_FIND_QUIETLY TRUE)
 ENDIF (PORTAUDIO_INCLUDE_DIRS)
 
-FIND_PATH(PORTAUDIO_INCLUDE_DIR portaudio.h)
+IF(WIN32)
+  INCLUDE(FindWSWinLibs)
+  FindWSWinLibs("portaudio_.*" "PORTAUDIO_HINTS")
+ENDIF(WIN32)
 
+FIND_PATH(PORTAUDIO_INCLUDE_DIR portaudio.h HINTS "${PORTAUDIO_HINTS}/include" )
+
 SET(PORTAUDIO_NAMES portaudio)
 FIND_LIBRARY(PORTAUDIO_LIBRARY NAMES ${PORTAUDIO_NAMES} )
 
Index: cmake/modules/FindSMI.cmake
===================================================================
--- cmake/modules/FindSMI.cmake	(revision 50862)
+++ cmake/modules/FindSMI.cmake	(working copy)
@@ -14,11 +14,16 @@
   SET(SMI_FIND_QUIETLY TRUE)
 ENDIF (SMI_INCLUDE_DIR)
 
-FIND_PATH(SMI_INCLUDE_DIR smi.h)
+IF(WIN32)
+  INCLUDE(FindWSWinLibs)
+  FindWSWinLibs("libsmi-.*" "SMI_HINTS")
+ENDIF(WIN32)
 
-SET(SMI_NAMES smi)
-FIND_LIBRARY(SMI_LIBRARY NAMES ${SMI_NAMES} )
+FIND_PATH(SMI_INCLUDE_DIR smi.h HINTS "${SMI_HINTS}/include" )
 
+SET(SMI_NAMES smi libsmi-2)
+FIND_LIBRARY(SMI_LIBRARY NAMES ${SMI_NAMES} HINTS "${SMI_HINTS}/lib" )
+
 # handle the QUIETLY and REQUIRED arguments and set SMI_FOUND to TRUE if 
 # all listed variables are TRUE
 INCLUDE(FindPackageHandleStandardArgs)
Index: cmake/modules/FindWSWinLibs.cmake
===================================================================
--- cmake/modules/FindWSWinLibs.cmake	(revision 0)
+++ cmake/modules/FindWSWinLibs.cmake	(working copy)
@@ -0,0 +1,21 @@
+#
+# $Id: FindWSWinLibs.cmake $
+#
+# - Find WSWin Libs
+#  Due to the layout of the Wireshark Win support libs,
+#  CMake needs some support to find them
+#
+#  The function is passed the directory name to search for and the variable
+#  to set in the callers scope.
+
+FUNCTION(FindWSWinLibs LIB_SEARCH_PATH LIB_HINT_VAR) 
+  SET(PROJECT_LIB_DIR "W:/Wireshark/wireshark-win32-libs")
+  FILE(GLOB subdir "${PROJECT_LIB_DIR}/*")
+  FOREACH(dir ${subdir})
+    IF(IS_DIRECTORY ${dir})
+      IF("${dir}" MATCHES ".*/${LIB_SEARCH_PATH}")
+        SET(${LIB_HINT_VAR} ${dir} PARENT_SCOPE)
+      ENDIF()    
+    ENDIF()
+  ENDFOREACH()
+ENDFUNCTION(FindWSWinLibs)
