[QGIS Commit] r8560 - trunk/qgis/src/helpviewer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat May 31 12:27:17 EDT 2008


Author: telwertowski
Date: 2008-05-31 12:27:17 -0400 (Sat, 31 May 2008)
New Revision: 8560

Modified:
   trunk/qgis/src/helpviewer/CMakeLists.txt
Log:
Add backward compatibility for Mac CMake 2.4


Modified: trunk/qgis/src/helpviewer/CMakeLists.txt
===================================================================
--- trunk/qgis/src/helpviewer/CMakeLists.txt	2008-05-31 14:30:50 UTC (rev 8559)
+++ trunk/qgis/src/helpviewer/CMakeLists.txt	2008-05-31 16:27:17 UTC (rev 8560)
@@ -59,8 +59,8 @@
 ########################################################
 # Install
 
-IF (APPLE)
-  INSTALL(TARGETS qgis_help BUNDLE DESTINATION ${QGIS_BIN_DIR})
-ELSE (APPLE)
-  INSTALL(TARGETS qgis_help RUNTIME DESTINATION ${QGIS_BIN_DIR})
-ENDIF (APPLE)
+IF (APPLE AND NOT ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} STRLESS "2.6")
+  INSTALL (TARGETS qgis_help BUNDLE DESTINATION ${QGIS_BIN_DIR})
+ELSE (APPLE AND NOT ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} STRLESS "2.6")
+  INSTALL (TARGETS qgis_help RUNTIME DESTINATION ${QGIS_BIN_DIR})
+ENDIF (APPLE AND NOT ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} STRLESS "2.6")



More information about the QGIS-commit mailing list