You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
343 B
12 lines
343 B
8 years ago
|
function(get_test_prerequirements found_var config_file)
|
||
|
if(EXISTS "/bin/sh")
|
||
|
#gunzip is not part of posix so we should not rely on it being installed
|
||
|
find_program(GUNZIP_EXECUTABLE gunzip)
|
||
|
|
||
|
if(GUNZIP_EXECUTABLE)
|
||
|
file(WRITE "${config_file}" "")
|
||
|
set(${found_var} true PARENT_SCOPE)
|
||
|
endif()
|
||
|
endif()
|
||
|
endfunction()
|