90cfe4467fb3c106c4bb58b0126f603265efc65e
[platform/upstream/cmake.git] / Tests / RunCMake / CPack / tests / INSTALL_SCRIPTS / RPM-Prerequirements.cmake
1 function(get_test_prerequirements found_var config_file)
2   if(SUBTEST_SUFFIX MATCHES ".*single_debug_info")
3     include(${config_file})
4
5     if(OBJDUMP_EXECUTABLE)
6       set(${found_var} true PARENT_SCOPE)
7     endif()
8   else()
9     set(${found_var} true PARENT_SCOPE)
10   endif()
11 endfunction()