summaryrefslogtreecommitdiffstats
path: root/Modules/FindGTK2.cmake
diff options
context:
space:
mode:
authorDaniele E. Domenichelli <daniele.domenichelli@iit.it>2013-06-29 13:27:58 (GMT)
committerDaniele E. Domenichelli <daniele.domenichelli@iit.it>2013-06-29 13:27:58 (GMT)
commiteb1630112dcc39ae5ccad3753c5991a33d505f5e (patch)
tree079593016c93a243cb5c2b7776301c661f7b43a4 /Modules/FindGTK2.cmake
parente021d33f9ccc29a15eee41725775cc69ca4af980 (diff)
downloadCMake-eb1630112dcc39ae5ccad3753c5991a33d505f5e.zip
CMake-eb1630112dcc39ae5ccad3753c5991a33d505f5e.tar.gz
CMake-eb1630112dcc39ae5ccad3753c5991a33d505f5e.tar.bz2
FindGTK2: Do not fail on MSVC11 if vc100 libraries are available
Diffstat (limited to 'Modules/FindGTK2.cmake')
-rw-r--r--Modules/FindGTK2.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindGTK2.cmake b/Modules/FindGTK2.cmake
index f398c79..c466633 100644
--- a/Modules/FindGTK2.cmake
+++ b/Modules/FindGTK2.cmake
@@ -269,6 +269,9 @@ function(_GTK2_FIND_LIBRARY _var _lib _expand_vc _append_version)
set(_library ${_library}-vc90)
elseif(MSVC10)
set(_library ${_library}-vc100)
+ elseif(MSVC11)
+ # Up to gtkmm-win 2.22.0-2 there are no vc110 libraries but vc100 can be used
+ set(_library ${_library}-vc100)
endif()
set(_library_d ${_library}-d)
endif()