mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Merge pull request #1794 from paulromano/pugixml-find-fix
Prevent pugixml from being found via PATH
This commit is contained in:
commit
c4e0881d07
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue