Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong CMake minimum required version. #123

Open
ipatix opened this issue May 1, 2024 · 0 comments
Open

Wrong CMake minimum required version. #123

ipatix opened this issue May 1, 2024 · 0 comments

Comments

@ipatix
Copy link

ipatix commented May 1, 2024

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

30.1.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

example.org

OBS Studio Crash Log URL

No response

Expected Behavior

Build-Windows.ps1 runs successfully when installed CMake version is older than 3.24.

Current Behavior

Build-Windows.ps1 raises an error when installed CMake version is older than 3.24.

Steps to Reproduce

  1. Install CMake 3.23
  2. Run .github/scripts/Build-Windows-ps1 -Configuration Release -Target x64

Anything else we should know?

The error is caused because CMake versions older than 3.24, which do not support --fresh.
It is raised here:

It would be less confusing if the minimum required version is raised to 3.24 here:

cmake_minimum_required(VERSION 3.16...3.26)

An alternative is obviously to remove the usage of --fresh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant