Fix build with QT4 option

PR:		ports/172156
Submitted by:	RyoTa SimaMoto
Feature safe:	yes
This commit is contained in:
Martin Matuska 2012-10-23 20:16:48 +00:00
parent 7f2e1c9a04
commit 9355c1a1ef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306325

View file

@ -118,7 +118,7 @@ CMAKE_ARGS+= -DWITH_PNG:BOOL=Off
.endif
.if defined(WITH_QT4)
USE_QT4+= opengl moc_build qmake_build rcc_build uic_build
USE_QT4+= opengl moc_build qmake_build rcc_build uic_build qtestlib
CMAKE_ARGS+= -DWITH_QT:BOOL=On -DWITH_QT_OPENGL:BOOL=On
.else
CMAKE_ARGS+= -DWITH_QT:BOOL=Off