/[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.2 - (show annotations) (download)
Sat Oct 19 12:18:58 2013 UTC (10 months, 1 week ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)

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