File: cmake-qt4.txt

package info (click to toggle)
mathgl 2.4.4-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 34,092 kB
  • sloc: cpp: 82,288; javascript: 3,284; ansic: 3,178; pascal: 1,562; python: 37; makefile: 20; sh: 20
file content (14 lines) | stat: -rw-r--r-- 384 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
set(MGL_HAVE_QT4 1)
set(MGL_QT4_LIBS_FIND QtCore QtGui QtOpenGL)
set(MGL_QT4_LIBS_FIND_JSON QtNetwork QtWebKit)

FIND_PACKAGE(Qt4 4.8 REQUIRED ${MGL_QT4_LIBS_FIND})

set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(MGL_QT4_LIBS)
foreach(mgl_qt4_lib ${MGL_QT4_LIBS_FIND})
	set(MGL_QT4_LIBS ${MGL_QT4_LIBS} Qt4::${mgl_qt4_lib})
endforeach(mgl_qt4_lib)