Bug in addModuleDependency when second argument of CMakeFindModule is set to false
EMAMOpt2Cpp should be updated so it can get the bug fix from EMAM2Cpp in order to avoid situations like find_package(CUDA OPTIONAL) when the second argument of CMakeFindModule is set to false which leads to a cmake error. When it is false nothing should be added, i.e. find_package(CUDA ). This has been already fixed in EMAM2Cpp version 0.1.2-SNAPSHOT
, however, more dependencies have to be modified to update EMAMOpt2Cpp correctly.