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?