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@8185 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Feb 28, 2008
1 parent b1fd5a2 commit 78e4297
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
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 78e4297

Please sign in to comment.