Bolt
Bolt copied to clipboard
CMake Error on Windows
I've tried following the README steps for a windows build but am receiving the following error when executing
cmake -S . -B build -G "Visual Studio 17"
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.
CMake Error at CMakeLists.txt:371 (target_include_directories):
Cannot specify include directories for target "bolt-plugin" which is not
built by this project.
CMake Error at CMakeLists.txt:372 (target_link_libraries):
Cannot specify link libraries for target "bolt-plugin" which is not built
by this project.
-- Configuring incomplete, errors occurred!```
It's been quite a while since I tried to get this to build on Windows. In this case, I think you could just specify -D BOLT_SKIP_LIBRARIES=1 in the command. That would mean the plugin library won't be built, but that's nowhere near being able to work on Windows, anyway.
Windows builds now work correctly with or without the plugin library so closing this.