diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-03-05 15:20:40 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-03-05 15:23:23 +0300 |
commit | eb16b04b9dac7703042048f676b832894784244e (patch) | |
tree | 4c859315f611e346e27f9029f66abe43acdc9061 /build_files/cmake | |
parent | 6883a9bad9ef73f3debc486fd7260470e29c9531 (diff) |
CMake: Need to find pugixml.hpp instead of pugixml.h
That's how file is actually called in the upstream.
Diffstat (limited to 'build_files/cmake')
-rw-r--r-- | build_files/cmake/Modules/FindPugiXML.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
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 |