Prechádzať zdrojové kódy

COMP: QtMobility: Create the "Debug" directory if
it does not exist. This may happen if QtMobility
is build as the very first target.
(cherry picked from commit e2efe9680436ff177c0c0a60a918becc06edd4ed)

Sascha Zelzer 15 rokov pred
rodič
commit
5ba9b520a1

+ 4 - 0
Utilities/QtMobility/QtMobility-1.0.0-install-win32.cmake.in

@@ -8,6 +8,10 @@ ENDIF()
 SET(_int_dir )
 IF(INTERMEDIATE_DIRECTORY)
   GET_FILENAME_COMPONENT(_int_dir ${INTERMEDIATE_DIRECTORY} NAME)
+  IF(NOT EXISTS "@CTK_CMAKE_LIBRARY_OUTPUT_DIRECTORY@/${_int_dir}/")
+    FILE(MAKE_DIRECTORY "@CTK_CMAKE_LIBRARY_OUTPUT_DIRECTORY@/${_int_dir}/")
+	MESSAGE("Creating directory @CTK_CMAKE_LIBRARY_OUTPUT_DIRECTORY@/${_int_dir}")
+  ENDIF()
 ENDIF()
 
 FILE(GLOB _files "@qtmobility_win32_install_prefix@/lib/*")