nixpkgs/pkgs/development/embedded/teensy-cmake-macros/setup-hook.sh
Michael Donovan 3cecf7bb5a teensy-cmake-macros: init at unstable-2023-04-15
Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
2023-08-19 22:22:45 +00:00

5 lines
142 B
Bash

teensyCMakeMacrosEnvHook() {
cmakeFlagsArray+=(-DCMAKE_MODULE_PATH=@out@/lib/cmake)
}
addEnvHooks "$targetOffset" teensyCMakeMacrosEnvHook