diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2018-10-31 18:48:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-11-01 17:16:37 (GMT) |
commit | 22ba9b6a328a0eea77559b2d607fe8d525445812 (patch) | |
tree | 962e8435dcf4486b28ab383e5d6f17d7550cc01d /Tests/FindGDAL/Test/main.c | |
parent | 525ff0c3bc1f625756337c2ae724a58ec93ba4d1 (diff) | |
download | CMake-22ba9b6a328a0eea77559b2d607fe8d525445812.zip CMake-22ba9b6a328a0eea77559b2d607fe8d525445812.tar.gz CMake-22ba9b6a328a0eea77559b2d607fe8d525445812.tar.bz2 |
FindGDAL: set the GDAL_VERSION
Diffstat (limited to 'Tests/FindGDAL/Test/main.c')
-rw-r--r-- | Tests/FindGDAL/Test/main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Tests/FindGDAL/Test/main.c b/Tests/FindGDAL/Test/main.c index 046eb99..7b31a13 100644 --- a/Tests/FindGDAL/Test/main.c +++ b/Tests/FindGDAL/Test/main.c @@ -1,12 +1,11 @@ #include <gdal.h> #include <stdio.h> -// #include <string.h> +#include <string.h> int main() { printf("Found GDAL version %s, expected version %s\n", GDAL_RELEASE_NAME, CMAKE_EXPECTED_GDAL_VERSION); GDALAllRegister(); - // return strcmp(GDAL_RELEASE_NAME, CMAKE_EXPECTED_GDAL_VERSION); - return 0; + return strcmp(GDAL_RELEASE_NAME, CMAKE_EXPECTED_GDAL_VERSION); } |