Skip to content

Commit

Permalink
Merge pull request #122 from xusheng6:fix_binja_build
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 601714136
Change-Id: I2f257bb90de44e215877333be1b61f1b7cfdb08a
  • Loading branch information
copybara-github committed Jan 26, 2024
2 parents 85c89a4 + f24acfa commit 3dcf548
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion binaryninja/stubs/binaryninjacore.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// clang-format off
#include "exceptions.h" // NOLINT
#define BINARYNINJACORE_LIBRARY
#include "binaryninjaapi.h" // NOLINT
#include "binaryninjacore.h" // NOLINT
// clang-format on

extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion binaryninja/stubs/binaryninjacore_stable.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// clang-format off
#include "exceptions.h" // NOLINT
#define BINARYNINJACORE_LIBRARY
#include "binaryninjaapi.h" // NOLINT
#include "binaryninjacore.h" // NOLINT
// clang-format on

extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion binaryninja/stubs/regenerate-api-stubs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ cd "${THIS_DIR}"
// clang-format off
#include "exceptions.h" // NOLINT
#define BINARYNINJACORE_LIBRARY
#include "binaryninjaapi.h" // NOLINT
#include "binaryninjacore.h" // NOLINT
// clang-format on
extern "C" {
Expand Down
1 change: 0 additions & 1 deletion cmake/BinExportDeps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ if(BINEXPORT_ENABLE_BINARYNINJA)
FetchContent_Declare(binaryninjaapi
GIT_REPOSITORY https://github.com/Vector35/binaryninja-api.git
GIT_TAG ${_binexport_binaryninja_git_tag}
GIT_SUBMODULES "docs" # Workaround for CMake #20579
)
FetchContent_GetProperties(binaryninjaapi)
if(NOT binaryninjaapi_POPULATED)
Expand Down

0 comments on commit 3dcf548

Please sign in to comment.