However, whenever I try and build the ExamplePlugin project with cmake (or VS) the compilation fails w/ logger.h errors:
C:\dev\skse64\skse64_2_01_05\skse64\ExamplePlugin\build\vcpkg_installed\x64-windows-static-md\include\spdlog/logger.h(340,18): error C2220: the following warning is treated as an error (compiling source file C:\dev\skse64\skse64_2_01_05\skse64\CommonLibSSE\src\SKSE\IAT.cpp) [C:\dev\skse64\skse64_2_01_05\skse64\ExamplePlugin\build\src\CommonLibSSE\CommonLibSSE.vcxproj]
C:\dev\skse64\skse64_2_01_05\skse64\ExamplePlugin\build\vcpkg_installed\x64-windows-static-md\include\spdlog/logger.h(340,18): warning C4996: 'fmt::v8::format_to': was declared deprecated (compiling source file C:\dev\skse64\skse64_2_01_05\skse64\CommonLibSSE\src\SKSE\IAT.cpp) [C:\dev\skse64\skse64_2_01_05\skse64\ExamplePlugin\build\src\CommonLibSSE\CommonLibSSE.vcxproj]
C:\dev\skse64\skse64_2_01_05\skse64\ExamplePlugin\build\vcpkg_installed\x64-windows-static-md\include\spdlog/logger.h(86): message : see reference to function template instantiation 'void spdlog::logger::log_<spdlog::string_view_t,std::string_view&,std::string_view&>(spdlog::source_loc,spdlog::level::level_enum,const FormatString &,std::string_view &,std::string_view &)' being compiled [C:\dev\skse64\skse64_2_01_05\skse64\ExamplePlugin\build\src\CommonLibSSE\CommonLibSSE.vcxproj]
with
[
FormatString=spdlog::string_view_t
] (compiling source file C:\dev\skse64\skse64_2_01_05\skse64\CommonLibSSE\src\SKSE\IAT.cpp)
C:\dev\skse64\skse64_2_01_05\skse64\ExamplePlugin\build\vcpkg_installed\x64-windows-static-md\include\spdlog/spdlog.h(132): message : see reference to function template instantiation 'void spdlog::logger::log<std::string_view&,std::string_view&>(spdlog::source_loc,spdlog::level::level_enum,spdlog::string_view_t,std::string_view &,std::string_view &)' being compiled (compiling source file C:\dev\skse64\skse64_2_01_05\skse64\CommonLibSSE\src\SKSE\IAT.cpp) [C:\dev\skse64\skse64_2_01_05\skse64\ExamplePlugin\build\src\CommonLibSSE\CommonLibSSE.vcxproj]
C:\dev\skse64\skse64_2_01_05\skse64\ExamplePlugin\build\vcpkg_installed\x64-windows-static-md\include\spdlog/logger.h(340,18): error C2220: the following warning is treated as an error (compiling source file C:\dev\skse64\skse64_2_01_05\skse64\CommonLibSSE\src\RE\T\TESObjectREFR.cpp) [C:\dev\skse64\skse64_2_01_05\skse64\ExamplePlugin\build\src\CommonLibSSE\CommonLibSSE.vcxproj]
C:\dev\skse64\skse64_2_01_05\skse64\ExamplePlugin\build\vcpkg_installed\x64-windows-static-md\include\spdlog/logger.h(340,18): warning C4996: 'fmt::v8::format_to': was declared deprecated (compiling source file C:\dev\skse64\skse64_2_01_05\skse64\CommonLibSSE\src\RE\T\TESObjectREFR.cpp) [C:\dev\skse64\skse64_2_01_05\skse64\ExamplePlugin\build\src\CommonLibSSE\CommonLibSSE.vcxproj]
C:\dev\skse64\skse64_2_01_05\skse64\ExamplePlugin\build\vcpkg_installed\x64-windows-static-md\include\spdlog/logger.h(86): message : see reference to function template instantiation 'void spdlog::logger::log_<spdlog::string_view_t,_Ty>(spdlog::source_loc,spdlog::level::level_enum,const FormatString &,_Ty &&)' being compiled [C:\dev\skse64\skse64_2_01_05\skse64\ExamplePlugin\build\src\CommonLibSSE\CommonLibSSE.vcxproj]
with
[
_Ty=const char *,
FormatString=spdlog::string_view_t
] (compiling source file C:\dev\skse64\skse64_2_01_05\skse64\CommonLibSSE\src\RE\T\TESObjectREFR.cpp)