Properly quote the dependencies string.
authorStephen Kelly <stephen.kelly@kdab.com>
Sun, 29 Apr 2012 18:03:16 +0000 (20:03 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sun, 29 Apr 2012 18:27:39 +0000 (20:27 +0200)
Change-Id: I319b04cdb21860652658ee8d3e577d41a913ed5a
Reviewed-by: Alexander Neundorf <neundorf@kde.org>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
mkspecs/cmake/Qt5BasicConfig.cmake.in

index 0199129..c136cec 100644 (file)
@@ -44,7 +44,7 @@ if (Qt5$${CMAKE_MODULE_NAME}_EXECUTABLE_COMPILE_FLAGS)
   list(REMOVE_DUPLICATES Qt5$${CMAKE_MODULE_NAME}_EXECUTABLE_COMPILE_FLAGS)
 endif()
 
-set(Qt5$${CMAKE_MODULE_NAME}_LIB_DEPENDENCIES "$${CMAKE_QT5_MODULE_DEPS}")
+set(Qt5$${CMAKE_MODULE_NAME}_LIB_DEPENDENCIES \"$${CMAKE_QT5_MODULE_DEPS}\")
 
 !!IF !isEmpty(CMAKE_STATIC_TYPE)
 # For static builds, we also list the dependencies of