From bdc1e4e054a9dfb48b49f6a485b93e3266f4e2cc Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Sun, 25 Nov 2007 08:20:05 -0500 Subject: [PATCH] BUG: use the correct variable for checking the success (#6062) Alex --- Modules/FindEXPAT.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindEXPAT.cmake b/Modules/FindEXPAT.cmake index 69c22005b..ee5b2fafe 100644 --- a/Modules/FindEXPAT.cmake +++ b/Modules/FindEXPAT.cmake @@ -14,7 +14,7 @@ FIND_LIBRARY(EXPAT_LIBRARY NAMES expat) # handle the QUIETLY and REQUIRED arguments and set EXPAT_FOUND to TRUE if # all listed variables are TRUE INCLUDE(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(EXPAT DEFAULT_MSG EXPAT_LIBRARY EXPAT_INCLUDE_PATH) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(EXPAT DEFAULT_MSG EXPAT_LIBRARY EXPAT_INCLUDE_DIR) # Copy the results to the output variables. IF(EXPAT_FOUND)