Fixed build errors

This commit is contained in:
acidicoala
2025-08-19 00:40:42 +05:00
parent b170fd2276
commit 3978006e12
17 changed files with 257 additions and 183 deletions

View File

@@ -93,6 +93,11 @@ endif ()
add_library(SmokeAPI SHARED ${SMOKE_API_SOURCES} ${VERSION_RESOURCE})
# There is a weird bug where c++23 features are not enabled in x64 builds,
# while they are available in x86. I've no idea what causes this discrepancy,
# but manually setting the MSVC compiler option fixes this issue.
target_compile_options(SmokeAPI PRIVATE /std:c++latest)
configure_linker_exports(
TARGET SmokeAPI
FORWARDED_DLL "${STEAMAPI_DLL}_o"