On NixOS, it is required to explicitly pass dependencies to package builders.
Therefore, I had to update FindAlglib.cmake to also respect the ALGLIB_DIR variable.
\<package>_DIR variables are conventionally used to pass package locations to CMake find_package() scripts.
Let me know, if you find this addition useful or if you would require changes to the PR.
Hi all,
I started creating a personal package of hdrmerge 0.5.0 for NixOS (see https://codeberg.org/mkroehnert/nix-flakes).
On NixOS, it is required to explicitly pass dependencies to package builders. Therefore, I had to update FindAlglib.cmake to also respect the ALGLIB_DIR variable. \<package>_DIR variables are conventionally used to pass package locations to CMake find_package() scripts.
Let me know, if you find this addition useful or if you would require changes to the PR.