Ninja generator doesn't set USE_YAML when compiling the modules/test fortran files.
Opened this issue · 0 comments
scharlton2 commented
target_compile_definitions(PhreeqcRM PUBLIC USE_YAML) seems to not set -DUSE_YAML when compiling Fortran and using the Ninja generator.
Seems not to occur when using the 'Unix Makefiles' generator.
$ cmake --version
cmake version 3.22.1
check documentation for:
target_compile_definitions(PhreeqcRM PUBLIC USE_YAML)
https://cmake.org/cmake/help/v3.22/command/target_compile_definitions.html