CMake/Tests/RunCMake/CPack/DEB/DEB_GENERATE_SHLIBS-Prerequ...

8 lines
184 B
CMake

function(get_test_prerequirements found_var)
find_program(READELF_EXECUTABLE NAMES readelf)
if(READELF_EXECUTABLE)
set(${found_var} true PARENT_SCOPE)
endif()
endfunction()