[QGIS Commit] r8186 - branches/gdalogr-capi-branch/qgis

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Feb 28 14:21:00 EST 2008


Author: timlinux
Date: 2008-02-28 14:21:00 -0500 (Thu, 28 Feb 2008)
New Revision: 8186

Modified:
   branches/gdalogr-capi-branch/qgis/CMakeLists.txt
Log:
 Fix for if WITH_BINDINGS is off but python was found, cmake was still trying to build python stuff.


Modified: branches/gdalogr-capi-branch/qgis/CMakeLists.txt
===================================================================
--- branches/gdalogr-capi-branch/qgis/CMakeLists.txt	2008-02-28 19:19:57 UTC (rev 8185)
+++ branches/gdalogr-capi-branch/qgis/CMakeLists.txt	2008-02-28 19:21:00 UTC (rev 8186)
@@ -269,9 +269,9 @@
 
 SUBDIRS(src doc images resources i18n tools)
 
-IF (HAVE_PYTHON)
+IF (HAVE_PYTHON AND WITH_BINDINGS)
   SUBDIRS (python)
-ENDIF (HAVE_PYTHON)
+ENDIF (HAVE_PYTHON AND WITH_BINDINGS)
 
 IF (ENABLE_TESTS)
   #create a variable to specify where our test data is



More information about the QGIS-commit mailing list