Prevent pugixml and fmt from being found via PATH

This commit is contained in:
Paul Romano 2021-03-12 07:26:44 -06:00
parent 8b917c38ab
commit 8ee728c511

View file

@ -54,13 +54,13 @@ endif()
#===============================================================================
# If not found, we just pull appropriate versions from github and build them.
find_package(fmt QUIET)
find_package(fmt QUIET NO_SYSTEM_ENVIRONMENT_PATH)
if(fmt_FOUND)
message(STATUS "Found fmt: ${fmt_DIR} (version ${fmt_VERSION})")
else()
message(STATUS "Did not find fmt, will use submodule instead")
endif()
find_package(pugixml QUIET)
find_package(pugixml QUIET NO_SYSTEM_ENVIRONMENT_PATH)
if(pugixml_FOUND)
message(STATUS "Found pugixml: ${pugixml_DIR}")
else()