mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Prevent pugixml and fmt from being found via PATH
This commit is contained in:
parent
8b917c38ab
commit
8ee728c511
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