The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=11429 ====================================================================== Reported By: Vincent Levesque Assigned To: ====================================================================== Project: CMake Issue ID: 11429 Category: Modules Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2010-11-09 18:22 EST Last Modified: 2010-11-09 18:22 EST ====================================================================== Summary: FindGTK2 does not find libraries built for Visual Studio 2010 Description: The version of FindGTK2.cmake included in CMake 2.8.3 looks for libraries ending in "-vc80" and "-vc90" when generating projects for Visual Studio 2008 and 2009 but does not look for "-vc100" when generating projects for Visual Studio 2010. I tested the following correction (also attached as a patch) on Windows 7 with Visual Studio 2010, CMake 2.8.3 and GTK 2.22.0:
if(_expand_vc) # Add vc80/vc90/vc100 midfixes if(MSVC80) set(_library ${_library}-vc80) set(_library_d ${_library}-d) elseif(MSVC90) set(_library ${_library}-vc90) set(_library_d ${_library}-d) elseif(MSVC10) set(_library ${_library}-vc100) set(_library_d ${_library}-d) endif() endif() GTK: ftp://ftp.gnome.org/pub/GNOME/binaries/win32/gtkmm/2.22/gtkmm-win32-devel-2.22.0-1.exe ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2010-11-09 18:22 Vincent LevesqueNew Issue 2010-11-09 18:22 Vincent LevesqueFile Added: findgtk2-vc100.patch ====================================================================== _______________________________________________ cmake-developers mailing list cmake-developers@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers