mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Apply suggestions from code review - remove check for xtl
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
a7ce3c92ca
commit
2ab0e23bc6
1 changed files with 1 additions and 10 deletions
|
|
@ -77,12 +77,6 @@ if(xtensor_FOUND)
|
|||
else()
|
||||
message(STATUS "Did not find xtensor, will use submodule instead")
|
||||
endif()
|
||||
find_package(xtl QUIET NO_SYSTEM_ENVIRONMENT_PATH)
|
||||
if(xtl_FOUND)
|
||||
message(STATUS "Found xtl: ${xtl_DIR} (version ${xtl_VERSION})")
|
||||
else()
|
||||
message(STATUS "Did not find xtl, will use submodule instead")
|
||||
endif()
|
||||
find_package(gsl-lite QUIET NO_SYSTEM_ENVIRONMENT_PATH)
|
||||
if(gsl-lite_FOUND)
|
||||
message(STATUS "Found gsl-lite: ${gsl-lite_DIR} (version ${gsl-lite_VERSION})")
|
||||
|
|
@ -228,12 +222,9 @@ if (NOT (CMAKE_VERSION VERSION_LESS 3.13))
|
|||
cmake_policy(SET CMP0079 NEW)
|
||||
endif()
|
||||
|
||||
if (NOT xtl_FOUND)
|
||||
if (NOT xtensor_FOUND)
|
||||
add_subdirectory(vendor/xtl)
|
||||
set(xtl_DIR ${CMAKE_CURRENT_BINARY_DIR}/vendor/xtl)
|
||||
endif()
|
||||
|
||||
if (NOT xtensor_FOUND)
|
||||
add_subdirectory(vendor/xtensor)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue