Skip to content

Commit

Permalink
Fix for if WITH_BINDINGS is off but python was found, cmake was still…
Browse files Browse the repository at this point in the history
… trying to build python stuff.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8185 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Feb 28, 2008
1 parent 5970fe7 commit 4a8e682
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -269,9 +269,9 @@ ADD_CUSTOM_TARGET(svnversion ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/qgssvnversi

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
Expand Down

0 comments on commit 4a8e682

Please sign in to comment.