cmake: reset CMAKE_REQUIRED_INCLUDES/CMAKE_REQUIRED_LIBRARIES

(cherry picked from commit f69f41056fc8cd8a70b38024f255e9074af20bdc)
1 file changed