mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
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:
parent
44a9ef600d
commit
780ce7a724
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user