summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2010-04-17 08:31:26 +0200
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2010-04-17 08:31:26 +0200
commit7c9e72ad235a550673421a004eeea775320c36a2 (patch)
treed20282086d18afe18395e4cc3ac1705ce4ab1b57 /Modules
parentdb3134d2a175266d1b05b03737e7b323c2c832ba (diff)
downloadcmake-7c9e72ad235a550673421a004eeea775320c36a2.tar.gz
FindLibXml2: move include statement
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindLibXml2.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/FindLibXml2.cmake b/Modules/FindLibXml2.cmake
index 9139aad797..e18dc2e921 100644
--- a/Modules/FindLibXml2.cmake
+++ b/Modules/FindLibXml2.cmake
@@ -44,10 +44,9 @@ FIND_PROGRAM(LIBXML2_XMLLINT_EXECUTABLE xmllint)
# for backwards compat. with KDE 4.0.x:
SET(XMLLINT_EXECUTABLE "${LIBXML2_XMLLINT_EXECUTABLE}")
-INCLUDE(FindPackageHandleStandardArgs)
-
# handle the QUIETLY and REQUIRED arguments and set LIBXML2_FOUND to TRUE if
# all listed variables are TRUE
+INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibXml2 DEFAULT_MSG LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
MARK_AS_ADVANCED(LIBXML2_INCLUDE_DIR LIBXML2_LIBRARIES LIBXML2_XMLLINT_EXECUTABLE)