/[gentoo-x86]/dev-util/cmake/files/cmake-2.8.10.2-qt5.patch
Gentoo

Contents of /dev-util/cmake/files/cmake-2.8.10.2-qt5.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Jan 7 12:12:34 2013 UTC (20 months, 2 weeks ago) by kensington
Branch: MAIN
Fix Qt5 automagic.

(Portage version: 2.1.11.38/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)

1 --- Source/QtDoalog/CMakeLists.txt
2 +++ Source/QtDialog/CMakeLists.txt
3 @@ -11,7 +11,12 @@
4 #=============================================================================
5
6 project(QtDialog)
7 -find_package(Qt5Widgets QUIET)
8 +option(WITH_Qt5 ON)
9 +
10 +if(WITH_Qt5)
11 + find_package(Qt5Widgets QUIET)
12 +endif()
13 +
14 if (Qt5Widgets_FOUND)
15 include_directories(${Qt5Widgets_INCLUDE_DIRS})
16 add_definitions(${Qt5Widgets_DEFINITONS})

  ViewVC Help
Powered by ViewVC 1.1.20