Multiple cmake issues when trying to build #1584
Labels
area: buildsystem
Related to our cmake/python buildsystem
bug
Behaving differently as it should behave
os: windows
Windows-specific issue
I'm trying to build the current version on Windows 11 and running into several problems in the cmake config step. I'm running the following command from the openage\build folder:
cmake -DCMAKE_TOOLCHAIN_FILE=..\vcpkg\scripts\buildsystems\vcpkg.cmake -G "Visual Studio 17 2022" -A x64 -DDOWNLOAD_NYAN=YES -DFLEX_EXECUTABLE=..\flex\win_flex.exe ..
My cmake version is 3.28.0-rc1
The first issue is it failing with
It seems to not like the "v" and manually editing the version to just "0.5.2" fixed that problem.
The second issue is it failing with
I have toml11 installed in vcpkg but cmake isn't seeing that and I can't figure out how to make it do so. I tried adding the directory to
-DCMAKE_PREFIX_PATH
and also copying the toml11Config.cmake file to various other folders but always got the same error.The text was updated successfully, but these errors were encountered: