diff options
| author | Charles Karney <ckarney@karney.com> | 2015-10-01 08:05:46 -0400 |
|---|---|---|
| committer | Charles Karney <ckarney@karney.com> | 2015-10-01 08:05:46 -0400 |
| commit | cfb2423b498d91153c39e6d93b7de30432a9c67b (patch) | |
| tree | 442a5045fedafe82f8cc274e2af1765d9360a171 /cmake | |
| parent | b5d0d2d4dd1d2431f3e88e5d26e6105ce9a5c6bf (diff) | |
| download | PROJ-cfb2423b498d91153c39e6d93b7de30432a9c67b.tar.gz PROJ-cfb2423b498d91153c39e6d93b7de30432a9c67b.zip | |
Fix cmake version check so it works for cmake 3.x
Diffstat (limited to 'cmake')
| -rw-r--r-- | cmake/Proj4Test.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Proj4Test.cmake b/cmake/Proj4Test.cmake index 7a0270c2..a289f0c5 100644 --- a/cmake/Proj4Test.cmake +++ b/cmake/Proj4Test.cmake @@ -15,9 +15,9 @@ function(proj_add_test_script_sh SH_NAME BIN_USE) endif(EXISTS ${GRID_FULLNAME}) endif(ARGV2) - if( CMAKE_MINOR_VERSION LESS 8 OR CMAKE_PATCH_VERSION LESS 4 ) + if( CMAKE_VERSION VERSION_LESS 2.8.4 ) set(TEST_OK 0) - message(STATUS "test with bash script need a cmake version > 2.8.3 ") + message(STATUS "test with bash script need a cmake version >= 2.8.4") endif() if(${TEST_OK}) |
