When I build my project on CentOS 7.9 (using gcc version 4.8.5), it builds successfully.
However, when attempting to build the project on Windows with the following configuration:
{
"name": "VS2022-v140-Base",
"inherits": "base",
"generator": "Visual Studio 17 2022",
"architecture": "x64",
"toolset": "v140"
}
I encountered an error in the CMakeLists.txt file. The specific error message is:
CMake Error at winbuild/_deps/toml11-src/src/CMakeLists.txt:140 (target_compile_definitions):
target_compile_definitions may only set INTERFACE properties on INTERFACE
I believe there are issues in the CMakeLists.txt file that need to be addressed for successful building on Windows with the specified configuration.