Fix generation of version header when CMake 3.0 variant is used.
Motivation and Context
The generated version header file relies on project version variables which CMake only generates when an actual project exists (which was removed in the update as only the main project obs-studio exists).
How Has This Been Tested?
Tested compilation on Windows 11 with updated CMake file.
Types of changes
Bug fix (non-breaking change which fixes an issue)
Description
Fix generation of version header when CMake 3.0 variant is used.
Motivation and Context
The generated version header file relies on project version variables which CMake only generates when an actual
project
exists (which was removed in the update as only the main projectobs-studio
exists).How Has This Been Tested?
Tested compilation on Windows 11 with updated CMake file.
Types of changes
Checklist: