Use qmake dirname function correctly.

It takes a variable name apparently.

Change-Id: I9e2e2a0f6f5c42ecf9d07e4ac45954f14676d559
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Stephen Kelly 2012-07-03 09:00:00 +02:00 committed by Qt by Nokia
parent 3e5b98f4ea
commit acf9220374

View File

@ -32,7 +32,7 @@ isEmpty(CMAKE_VERSION) {
BUILD_DIR = $$replace($$list($$OUT_PWD/build), /, $$QMAKE_DIR_SEP) BUILD_DIR = $$replace($$list($$OUT_PWD/build), /, $$QMAKE_DIR_SEP)
for(d, $$list($$split($$list($$[QMAKE_MKSPECS]), $$DIRLIST_SEPARATOR))) { for(d, $$list($$split($$list($$[QMAKE_MKSPECS]), $$DIRLIST_SEPARATOR))) {
CMAKE_PREFIX_PATH *= $$dirname($$d) CMAKE_PREFIX_PATH *= $$dirname(d)
} }
check.commands = \ check.commands = \