Pluginterfaces.lib compilation error (win 10, VS 2022)

same issue here. worked fine with vs 2019. updated to 2022 and got this error out of the box.

“not supported”

<stdatomic.h> is currently supported when compiled as C++ ( /std:c++latest ). It isn’t yet supported when compiled as C ( /std:c11 and /std:c17 )

Fix:

cmake -DSMTG_USE_STDATOMIC_H=OFF .

or

if (MSVC)
set(SMTG_USE_STDATOMIC_H OFF CACHE BOOL “” FORCE)
endif()