From 3bf2fa12373f934d8332b19f9f9c288d99614d6a Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 12 Sep 2011 10:56:39 +0200 Subject: [PATCH] * Fixed not finding / using local libquazip. --- CMakeModules/FindQuaZip.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeModules/FindQuaZip.cmake b/CMakeModules/FindQuaZip.cmake index 80b434e5f..921213ca0 100644 --- a/CMakeModules/FindQuaZip.cmake +++ b/CMakeModules/FindQuaZip.cmake @@ -5,3 +5,7 @@ include(FindPackageHandleStandardArgs) find_package_handle_standard_args(quazip DEFAULT_MSG QuaZip_LIBRARY QuaZip_INCLUDE_DIR) set(QuaZip_LIBRARIES ${QuaZip_LIBRARY}) mark_as_advanced(QuaZip_LIBRARY QuaZip_INCLUDE_DIR) + +if(QuaZip_LIBRARY AND QuaZip_INCLUDE_DIR) + set(QuaZip_FOUND TRUE) +endif()