Always use forward slashes in paths passed to cmake.

Otherwise it issues many warnings.

Change-Id: I072afc65eed3f2549e5e5894f8d290c792025e4c
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
This commit is contained in:
Stephen Kelly 2013-06-20 14:36:14 +02:00 committed by The Qt Project
parent 66c09c7e86
commit aae0a2144d

View File

@ -2,7 +2,7 @@
CMAKE_TEST_LOCATION = $$_PRO_FILE_PWD_
for(d, $$list($$split($$list($$[QMAKE_MKSPECS]), $$DIRLIST_SEPARATOR))) {
CMAKE_PREFIX_PATH *= $$dirname(d)
CMAKE_PREFIX_PATH *= $$clean_path($$dirname(d))
}
CMAKE_PREFIX_PATH=\"$$join(CMAKE_PREFIX_PATH, ;)\"