Hi,
When building OpenMC using the instructions under ‘Manually Installing from Source’ (Quick Install Guide — OpenMC Documentation) I received two errors when running CMake. The errors are:
– Did not find pugixml, will use submodule instead
CMake Error in vendor/pugixml/CMakeLists.txt:
INTERFACE_LIBRARY targets may only have whitelisted properties. The
property “CXX_STANDARD” is not allowed.
CMake Error in vendor/pugixml/CMakeLists.txt:
INTERFACE_LIBRARY targets may only have whitelisted properties. The
property “CXX_EXTENSIONS” is not allowed.
I believe this is due to the version of CMake. I was running 3.16.3, which is a bit old! It might be worth specifying a minimum version of CMake to use to avoid confusion in future? Perhaps I have missed that somewhere.
Cheers,
Paul