Skip to content
Discussion options

You must be logged in to vote

I have identified the issue!

When Cardinal tried to build OpenMC, it uses CMake. Looking at the CMakeLists.txt file (cardinal/contrib/openmc/CMakeLists.txt), it was looking for libraries using the "find_package" function of CMake. It uses this methodology for libraries such as fmt, xtensor, xtl, and Catch2.

Here's a code snippet to illustrate the format in CMakeLists.txt:

#===============================================================================
# {fmt} library
#===============================================================================
find_package_write_status(fmt)
if (NOT fmt_FOUND)
     set(FMT_INSTALL ON CACHE BOOL "Generate the install target.")
     add_subdirectory(vendo…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@jcstonehill
Comment options

Answer selected by jcstonehill
@aprilnovak
Comment options

Comment options

You must be logged in to vote
1 reply
@jcstonehill
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants