[QGIS Commit] r15608 - trunk/qgis/mac/cmake
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sat Mar 26 11:41:49 EDT 2011
Author: kyngchaos
Date: 2011-03-26 08:41:49 -0700 (Sat, 26 Mar 2011)
New Revision: 15608
Modified:
trunk/qgis/mac/cmake/1qt.cmake.in
Log:
fix empty build type bug
Modified: trunk/qgis/mac/cmake/1qt.cmake.in
===================================================================
--- trunk/qgis/mac/cmake/1qt.cmake.in 2011-03-26 06:33:59 UTC (rev 15607)
+++ trunk/qgis/mac/cmake/1qt.cmake.in 2011-03-26 15:41:49 UTC (rev 15608)
@@ -99,7 +99,7 @@
ENDIF (IS_DIRECTORY "@QT_LIBRARY_DIR@/${QFW}.framework/Versions/${QT_FWVER}/Resources")
# debug variants
SET (QFWD "${QFW}_debug")
- IF (@CMAKE_BUILD_TYPE@ STREQUAL "Debug" AND EXISTS "@QT_LIBRARY_DIR@/${QFW}.framework/Versions/${QT_FWVER}/${QFWD}")
+ IF ("@CMAKE_BUILD_TYPE@" STREQUAL "Debug" AND EXISTS "@QT_LIBRARY_DIR@/${QFW}.framework/Versions/${QT_FWVER}/${QFWD}")
EXECUTE_PROCESS (COMMAND ditto ${QARCHS} "@QT_LIBRARY_DIR@/${QFW}.framework/Versions/${QT_FWVER}/${QFWD}" "${QFWDIR}/${QFW}.framework/Versions/${QT_FWVER}/${QFWD}")
EXECUTE_PROCESS (COMMAND ln -sf Versions/Current/${QFWD} "${QFWDIR}/${QFW}.framework/${QFWD}")
IF (IS_DIRECTORY "@QT_LIBRARY_DIR@/${QFW}.framework/${QFWD}.dSYM")
More information about the QGIS-commit
mailing list