Use qmake dirname function correctly.
authorStephen Kelly <stephen.kelly@kdab.com>
Tue, 3 Jul 2012 07:00:00 +0000 (09:00 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 3 Jul 2012 12:54:52 +0000 (14:54 +0200)
It takes a variable name apparently.

Change-Id: I9e2e2a0f6f5c42ecf9d07e4ac45954f14676d559
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
mkspecs/features/ctest_testcase.prf

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