Skip to content
Permalink
Browse files

greater should be all UPPERCASE

  • Loading branch information...
geographika committed Jun 27, 2018
1 parent e2e1432 commit fbd7dd21d804f08f75ae16e210ba3ce42358a347
Showing with 3 additions and 3 deletions.
  1. +3 −3 mapscript/python/CMakeLists.txt
@@ -28,11 +28,11 @@ include_directories(${PROJECT_SOURCE_DIR}/mapscript/swiginc)
include_directories(${PROJECT_SOURCE_DIR}/mapscript/)
include_directories(${PROJECT_SOURCE_DIR}/mapscript/python)

if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} greater 3.7)
if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 3.7)
swig_add_library(pythonmapscript TYPE MODULE LANGUAGE python SOURCES ../mapscript.i)
else (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} greater 3.7)
else (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 3.7)
swig_add_module(pythonmapscript python ../mapscript.i)
endif (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} greater 3.7)
endif (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 3.7)

swig_link_libraries(pythonmapscript ${PYTHON_LIBRARIES} ${MAPSERVER_LIBMAPSERVER})

0 comments on commit fbd7dd2

Please sign in to comment.
You can’t perform that action at this time.