CMAKE_SYSTEM_NAME isn't defined before the project call, so moved the option below it. Actually moved all options to keep them together and hopefully prevent similar problems in the future when adding new stuff.
Also put all the editor related projects into a single if scope.
This broke already a while ago, when the vcpkg changes where introduced and the project call moved down.
I just noticed it now after deleting the whole build directory and starting fresh, since the option was still in my CMakeCache all that time.
Related Issues
Screenshots (if applicable)
Checklist
[x] I have tested my changes locally and verified that they work as intended.
[x] I have documented any new or modified functionality.
[x] I have reviewed the changes to ensure they do not introduce any unnecessary complexity or duplicate code.
[x] I understand that by submitting this pull request, I am agreeing to license my contributions under the project's license.
Pull Request Type
Description
CMAKE_SYSTEM_NAME
isn't defined before theproject
call, so moved the option below it. Actually moved all options to keep them together and hopefully prevent similar problems in the future when adding new stuff. Also put all the editor related projects into a singleif
scope.This broke already a while ago, when the vcpkg changes where introduced and the
project
call moved down. I just noticed it now after deleting the whole build directory and starting fresh, since the option was still in my CMakeCache all that time.Related Issues
Screenshots (if applicable)
Checklist
Additional Comments