Skip to content

Fix NEUT 6 compilation (cmake) #98

@KSkwarczynski

Description

@KSkwarczynski

Main problem lies in fact that Nuisance uses hacks in NuHepMC/CMakeModules and here it calls:

which is implemented here:
https://github.com/NuHepMC/CMakeModules/blob/main/NEUT.cmake

NEUT 6 has proper cmake and all these hacks are completely not needed.
What I think would be solution is to update NEUT.cmake that if if(NEUT_VERSION VERSION_GREATER 6.0.0) simmply call find_package.

I am happy to fix it but I have no control over
https://github.com/NuHepMC/CMakeModules/blob/main/NEUT.cmake

Somone (@luketpickering ?) would have to help me.

I can also make this check on Nuiscane level.

Issue observed by Kasturi Vedantha Srinivas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions