FindLibXslt: move include statement + misc whitespace cleanup
This commit is contained in:
parent
293d8aee07
commit
3ca4749558
|
@ -26,7 +26,6 @@ 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
|
||||
${PC_LIBXSLT_INCLUDEDIR}
|
||||
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue