You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If CMake is still not able to find SDL, the minimum required CMake version of your project is probably less than 3.12.
66
66
Since this version, CMake will also look for packages using environment variables as hints (see [CMP0074](https://cmake.org/cmake/help/latest/policy/CMP0074.html)).
67
67
68
-
When bumping the minimum required CMake version is not desirable, here are 2 alternative methods (pick one!):
68
+
When bumping the minimum required CMake version is not desirable, here are 3 alternative methods (pick one!):
69
69
- Add `-DCMAKE_PREFIX_PATH=${{ steps.sdl.outputs.prefix }}` to the CMake configure command (or add SDL's prefix to an already-existing `-DCMAKE_PREFIX_PATH=` argument)
70
70
- Add `-DCMAKE_POLICY_DEFAULT_CMP0074=NEW` to the CMake configure command (this only works when the actual CMake version is >= 3.12).
71
+
- Append `...3.12` to the minimum CMake version - this enables the new behaviour for policies introduced in CMake 3.12 or earlier while preserving support for older versions.
71
72
72
73
### `install-linux-dependencies` does things on non-Linux GitHub runners
0 commit comments