Skip to content
Permalink
Browse files

add SWIG test to PHPNG cmake

  • Loading branch information...
rgreenwood committed May 14, 2019
1 parent b5c26cc commit 391bd6cbd105f49f0b42fe78786827432b10970d
Showing with 2 additions and 0 deletions.
  1. +2 −0 mapscript/phpng/CMakeLists.txt
@@ -1,3 +1,5 @@
find_package(SWIG REQUIRED)
include(${SWIG_USE_FILE})
if(WIN32 AND (${CMAKE_VERSION} EQUAL "3.12.0") OR (${CMAKE_VERSION} EQUAL "3.12.1") OR (${CMAKE_VERSION} EQUAL "3.12.2") OR (${CMAKE_VERSION} EQUAL "3.12.3"))
message(FATAL_ERROR "Building with CMAKE ${CMAKE_VERSION} will not work. Please downgrade to 3.11.x or update to a higher version than 3.12.3")
endif()

0 comments on commit 391bd6c

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