DescentDevelopers / Descent3

Descent 3 by Outrage Entertainment
GNU General Public License v3.0
2.88k stars 251 forks source link

Re-enable building the editor #629

Closed pzychotic closed 1 month ago

pzychotic commented 1 month ago

Pull Request Type

Description

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

Additional Comments

winterheart commented 1 month ago

I remember fixing this once before, probably in one of my countless branches that didn't make it into the main branch...