Skip to content

FindOpenMP: Log errors and fix warnings with -Wstrict-prototypes

native-api requested to merge native-api/cmake:openmp_checks into master

Log output in case of an error

See https://github.com/skvark/opencv-python/issues/138#issuecomment-434889819 for context.

Previously, the test code was giving two warnings: -Wstrict-prototypes and -Wreturn-type. The latter has been fixed in 15da0ba3 .

Topic-rename: FindOpenMP-log-errors

Edited by Brad King

Merge request reports