Fix 64-bit build

This commit is contained in:
acidicoala
2022-05-29 13:36:19 +03:00
parent 5d1abc6498
commit be9fa39508
3 changed files with 14 additions and 6 deletions

View File

@@ -53,12 +53,18 @@ set(
src/steam_functions/steam_functions.hpp
src/steam_types/steam_types.hpp
src/steamclient_exports/steamclient.cpp
src/koalageddon/vstdlib.cpp
src/koalageddon/steamclient.cpp
src/main.cpp
${GENERATED_LINKER_EXPORTS}
)
if (CMAKE_SIZEOF_VOID_P EQUAL 4)
set(
SMOKE_API_SOURCES ${SMOKE_API_SOURCES}
src/koalageddon/vstdlib.cpp
src/koalageddon/steamclient.cpp
)
endif ()
add_library(SmokeAPI SHARED ${SMOKE_API_SOURCES} ${VERSION_RESOURCE})
configure_output_name(${ORIGINAL_DLL})