Skip to content

Commit 4a8e682

Browse files
author
timlinux
committedFeb 28, 2008
Fix for if WITH_BINDINGS is off but python was found, cmake was still trying to build python stuff.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8185 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,9 @@ ADD_CUSTOM_TARGET(svnversion ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/qgssvnversi
269269

270270
SUBDIRS(src doc images resources i18n tools)
271271

272-
IF (HAVE_PYTHON)
272+
IF (HAVE_PYTHON AND WITH_BINDINGS)
273273
SUBDIRS (python)
274-
ENDIF (HAVE_PYTHON)
274+
ENDIF (HAVE_PYTHON AND WITH_BINDINGS)
275275

276276
IF (ENABLE_TESTS)
277277
#create a variable to specify where our test data is

0 commit comments

Comments
 (0)
Please sign in to comment.