Browse Source

BUG: use the correct variable for checking the success (#6062)

Alex
Alexander Neundorf 18 years ago
parent
commit
bdc1e4e054
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/FindEXPAT.cmake

+ 1 - 1
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)