cmake/Tests/RunCMake/CPack/tests/INSTALL_SCRIPTS/RPM-Prerequirements.cmake

12 lines
297 B
CMake
Raw Normal View History

2021-09-14 00:13:48 +02:00
function(get_test_prerequirements found_var config_file)
if(SUBTEST_SUFFIX MATCHES ".*single_debug_info")
include(${config_file})
2022-11-16 20:14:03 +01:00
if(CPACK_OBJDUMP_EXECUTABLE)
2021-09-14 00:13:48 +02:00
set(${found_var} true PARENT_SCOPE)
endif()
else()
set(${found_var} true PARENT_SCOPE)
endif()
endfunction()