From eb16b04b9dac7703042048f676b832894784244e Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 5 Mar 2015 17:20:40 +0500 Subject: CMake: Need to find pugixml.hpp instead of pugixml.h That's how file is actually called in the upstream. --- build_files/cmake/Modules/FindPugiXML.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build_files') diff --git a/build_files/cmake/Modules/FindPugiXML.cmake b/build_files/cmake/Modules/FindPugiXML.cmake index b1ed45fd257..f7104c16921 100644 --- a/build_files/cmake/Modules/FindPugiXML.cmake +++ b/build_files/cmake/Modules/FindPugiXML.cmake @@ -1,7 +1,7 @@ # - Find PugiXML library # Find the native PugiXML includes and library # This module defines -# PUGIXML_INCLUDE_DIRS, where to find pugixml.h, Set when +# PUGIXML_INCLUDE_DIRS, where to find pugixml.hpp, Set when # PugiXML is found. # PUGIXML_LIBRARIES, libraries to link against to use PugiiXML. # PUGIXML_ROOT_DIR, The base directory to search for PugiXML. @@ -38,7 +38,7 @@ SET(_pugixml_SEARCH_DIRS FIND_PATH(PUGIXML_INCLUDE_DIR NAMES - pugixml.h + pugixml.hpp HINTS ${_pugixml_SEARCH_DIRS} PATH_SUFFIXES -- cgit v1.2.3