mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 00:52:16 +00:00
Don't support QTDIR for Qt4, as Qt4 itself deprecates this environment
variable. [SVN r33436]
This commit is contained in:
@@ -49,20 +49,9 @@ project.initialize $(__name__) ;
|
||||
project qt4 ;
|
||||
|
||||
# Initialized the QT support module. The 'prefix' parameter
|
||||
# tells where QT is installed. When not given, environmental
|
||||
# variable QTDIR should be set.
|
||||
rule init ( prefix ? )
|
||||
# tells where QT is installed.
|
||||
rule init ( prefix )
|
||||
{
|
||||
if ! $(prefix)
|
||||
{
|
||||
prefix = [ modules.peek : QTDIR ] ;
|
||||
if ! $(prefix)
|
||||
{
|
||||
errors.error
|
||||
"QT installation prefix not given and QTDIR variable is empty" ;
|
||||
}
|
||||
}
|
||||
|
||||
if $(.initialized)
|
||||
{
|
||||
if $(prefix) != $(.prefix)
|
||||
|
||||
Reference in New Issue
Block a user