Skip to content

Update OpenMC paths#5

Open
DanShort12 wants to merge 2 commits intomasterfrom
find_openmc_in_cmake
Open

Update OpenMC paths#5
DanShort12 wants to merge 2 commits intomasterfrom
find_openmc_in_cmake

Conversation

@DanShort12
Copy link
Owner

OpenMC installs into /usr/local but we were looking in /opt/openmc, so change the OpenMC paths to be under /usr/local.
Also removes unused pugixml include.

OpenMC installs into /usr/local but we were looking in /opt/openmc, so
change the OpenMC paths to be under /usr/local.
Also removes unused pugixml include.
Use find_package to populate OpenMC_DIR and then get relative paths to
include and lib from there.
Raises a warning if OpenMC is not present, as the source can still
function but the OpenMC plugin won't be available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant