diff options
author | wilson chen <willson.chenwx@gmail.com> | 2020-04-13 15:09:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 15:09:51 +0800 |
commit | 1860547cf00bfff96d176909e0a9e99adbeb6677 (patch) | |
tree | e2bf1387a9a41906040046a0a8981fccd1fa489f | |
parent | c494fb788e5139c241935d0e3b8a7b429dc27679 (diff) | |
download | libgd-1860547cf00bfff96d176909e0a9e99adbeb6677.tar.gz |
Fixed test case build configure error in issue #626
-rw-r--r-- | tests/gdimagefile/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/gdimagefile/CMakeLists.txt b/tests/gdimagefile/CMakeLists.txt index ba48d64..8676264 100644 --- a/tests/gdimagefile/CMakeLists.txt +++ b/tests/gdimagefile/CMakeLists.txt @@ -1,8 +1,10 @@ IF(TIFF_FOUND) -if(WEBP_FOUND) +IF(WEBP_FOUND) +IF(ENABLE_GD_FORMATS) LIST(APPEND TESTS_FILES gdnametest ) +ENDIF(ENABLE_GD_FORMATS) ENDIF(WEBP_FOUND) ENDIF(TIFF_FOUND) |