summaryrefslogtreecommitdiffstats
path: root/Tests/FindGDAL/Test/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindGDAL/Test/main.c')
-rw-r--r--Tests/FindGDAL/Test/main.c5
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);
}