FindOpenMP fails with CMake 3.30 with WIndows VisualStudio 2019

We have a CMakeLists.txt used on several platforms (Linux, Macos and Windows) that includes

find_package(OpenMP REQUIRED)

This worked on all platforms with CMake < 3.3.0 but fails on Windows with 3.30

 CMake Error at C:/hostedtoolcache/windows/Python/3.11.9/x64/Lib/site-packages/cmake/data/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)

Does the syntax of find_package(OpenMP) need to change for this to work?

That sounds like a regression. I don’t think projects should be expected to change for 3.30, but I think there have been some issues/discussions around OpenMP in recent months. I’m not involved in that work, but you can probably report this regression in the issue tracker. Please include as much information as you can about how you reproduce the problem, as the details will likely be important.

https://gitlab.kitware.com/cmake/cmake/-/issues/new