examples: rfnoc-gain: Remove deprecated FindUnixCommands

In CMake 3.26, find_package(UnixCommands) was deprecated. We therefore
use find_program() to find the Bash executable path.
This commit is contained in:
Martin Braun 2024-12-04 09:54:44 +01:00 committed by Jörg Hofrichter
parent 44a9ef600d
commit 780ce7a724

View File

@ -41,7 +41,7 @@ endif()
########################################################################
# Find bash (for executing make and sourcing the Vivado env)
########################################################################
find_package(UnixCommands)
find_program(BASH "bash")
if(BASH)
message(STATUS "Found bash interpreter: ${BASH}")
configure_file(