Skip to content

Commit

Permalink
Add tinyxml2 to Config names (#360)
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Oxoby <juan@vicarious.com>

Co-authored-by: Juan Oxoby <juan@vicarious.com>
Co-authored-by: Steve Peters <scpeters@openrobotics.org>
  • Loading branch information
3 people committed Sep 10, 2020
1 parent b59e868 commit 095d88a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Modules/FindTinyXML2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# TinyXML2_LIBRARIES

# try to find the CMake config file for TinyXML2 first
find_package(TinyXML2 CONFIG QUIET)
find_package(TinyXML2 CONFIG NAMES tinyxml2 QUIET)
if(TinyXML2_FOUND)
message(STATUS "Found TinyXML2 via Config file: ${TinyXML2_DIR}")
if(NOT TINYXML2_LIBRARY)
Expand Down

0 comments on commit 095d88a

Please sign in to comment.