Skip to content

Commit

Permalink
adjust libffi include/lib path
Browse files Browse the repository at this point in the history
  • Loading branch information
vi3t1 committed Dec 13, 2023
1 parent 47268c6 commit 2e37022
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core/script.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
#define SCRIPT_H

#include "../third-party/lua/lua.hpp"
#include "../third-party/libffi/include/ffi.h"
#include "../third-party/libffi/build/ffi.h"

#ifndef VMP_GNU
#ifdef _WIN64
#if NDEBUG
#pragma comment(lib, "../third-party/libffi/win32/vs16_x64/x64/Release/libffi.lib")
#pragma comment(lib, "../third-party/libffi/build/libffi64.lib")
#else
#pragma comment(lib, "../third-party/libffi/win32/vs16_x64/x64/Debug/libffi.lib")
#pragma comment(lib, "../third-party/libffi/build/libffi64d.lib")
#endif // NDEBUG
#else
#if NDEBUG
#pragma comment(lib, "../third-party/libffi/win32/vs16_x86/Release/libffi.lib")
#pragma comment(lib, "../third-party/libffi/build/libffi32.lib")
#else
#pragma comment(lib, "../third-party/libffi/win32/vs16_x86/Release/libffi.lib")
#pragma comment(lib, "../third-party/libffi/build/libffi32d.lib")
#endif // NDEBUG
#endif // _WIN64
#endif // VMP_GNU
Expand Down

0 comments on commit 2e37022

Please sign in to comment.