openbsd-ports/devel/cmake/patches/patch-Modules_FindEXPAT_cmake
dcoppa 8b1b17cff8 Update to cmake 2.8.1 (I also take maintainership).
"This is good, commit." espie@
2010-05-28 20:21:48 +00:00

14 lines
512 B
Plaintext

$OpenBSD: patch-Modules_FindEXPAT_cmake,v 1.1 2010/05/28 20:21:48 dcoppa Exp $
--- Modules/FindEXPAT.cmake.orig Mon May 3 10:58:12 2010
+++ Modules/FindEXPAT.cmake Mon May 3 10:58:44 2010
@@ -33,9 +33,6 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(EXPAT DEFAULT_MSG EX
IF(EXPAT_FOUND)
SET(EXPAT_LIBRARIES ${EXPAT_LIBRARY})
SET(EXPAT_INCLUDE_DIRS ${EXPAT_INCLUDE_DIR})
-ELSE(EXPAT_FOUND)
- SET(EXPAT_LIBRARIES)
- SET(EXPAT_INCLUDE_DIRS)
ENDIF(EXPAT_FOUND)
MARK_AS_ADVANCED(EXPAT_INCLUDE_DIR EXPAT_LIBRARY)