|
@@ -26,4 +26,8 @@ if(PNG_FOUND)
|
|
|
unset(PNG_PNG_INCLUDE_DIR CACHE)
|
|
unset(PNG_PNG_INCLUDE_DIR CACHE)
|
|
|
unset(PNG_LIBRARY_DIR)
|
|
unset(PNG_LIBRARY_DIR)
|
|
|
unset(PNG_VERSION_STRING)
|
|
unset(PNG_VERSION_STRING)
|
|
|
-endif()
|
|
|
|
|
|
|
+else()
|
|
|
|
|
+ unset(PNG_LIBRARY CACHE)
|
|
|
|
|
+ unset(PNG_INCLUDE_DIR CACHE)
|
|
|
|
|
+ unset(PNG_PNG_INCLUDE_DIR CACHE)
|
|
|
|
|
+endif()
|