diff options
Diffstat (limited to 'Tests/FindGDAL/Test/CMakeLists.txt')
-rw-r--r-- | Tests/FindGDAL/Test/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Tests/FindGDAL/Test/CMakeLists.txt b/Tests/FindGDAL/Test/CMakeLists.txt index 20f4b84..8bdc57c 100644 --- a/Tests/FindGDAL/Test/CMakeLists.txt +++ b/Tests/FindGDAL/Test/CMakeLists.txt @@ -4,9 +4,7 @@ include(CTest) find_package(GDAL REQUIRED) -# FindGDAL doesn't export a version number. -#add_definitions(-DCMAKE_EXPECTED_GDAL_VERSION="${GDAL_VERSION}") -add_definitions(-DCMAKE_EXPECTED_GDAL_VERSION="unknown") +add_definitions(-DCMAKE_EXPECTED_GDAL_VERSION="${GDAL_VERSION}") add_executable(test_tgt main.c) target_link_libraries(test_tgt GDAL::GDAL) |