1 2 3 4 5
foreach(c IN LISTS ComponentTest_FIND_COMPONENTS) message(STATUS "ComponentTest_FIND_REQUIRED_${c} " "'${ComponentTest_FIND_REQUIRED_${c}}'") endforeach()