summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2010-04-17 08:05:44 (GMT)
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2010-04-17 09:10:15 (GMT)
commit3ca474955865457cc1e3674fb34240e3788277bb (patch)
treee18c18d4bfe2dead139868fcc7e73dda55498d76 /Modules
parent293d8aee07fb6390224244d1d874e9d01e79032f (diff)
downloadCMake-3ca474955865457cc1e3674fb34240e3788277bb.zip
CMake-3ca474955865457cc1e3674fb34240e3788277bb.tar.gz
CMake-3ca474955865457cc1e3674fb34240e3788277bb.tar.bz2
FindLibXslt: move include statement + misc whitespace cleanup
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindLibXslt.cmake7
1 files changed, 2 insertions, 5 deletions
diff --git a/Modules/FindLibXslt.cmake b/Modules/FindLibXslt.cmake
index d16d1ff..a03aa7c 100644
--- a/Modules/FindLibXslt.cmake
+++ b/Modules/FindLibXslt.cmake
@@ -26,9 +26,8 @@ FIND_PACKAGE(PkgConfig)
PKG_CHECK_MODULES(PC_LIBXSLT libxslt)
SET(LIBXSLT_DEFINITIONS ${PC_LIBXSLT_CFLAGS_OTHER})
-
FIND_PATH(LIBXSLT_INCLUDE_DIR NAMES libxslt/xslt.h
- HINTS
+ HINTS
${PC_LIBXSLT_INCLUDEDIR}
${PC_LIBXSLT_INCLUDE_DIRS}
)
@@ -39,12 +38,10 @@ FIND_LIBRARY(LIBXSLT_LIBRARIES NAMES xslt libxslt
${PC_LIBXSLT_LIBRARY_DIRS}
)
-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(LibXslt DEFAULT_MSG LIBXSLT_LIBRARIES LIBXSLT_INCLUDE_DIR)
-
MARK_AS_ADVANCED(LIBXSLT_INCLUDE_DIR LIBXSLT_LIBRARIES)