-
fix cmake issue with referencing a non-existing function argument (#1118) · d882be1eKai Germaschewski authored
according to https://cmake.org/cmake/help/latest/command/function.html, "Referencing to ARGV# arguments beyond ARGC have undefined behavior.", which I hit with cmake 3.19.7. This uses ARGC to check whether ARGV1 has been passed before referencing it.
×