Set minimum Capstone version to 4.0.2

This version has fixed a bug with Capstone's main header.
This commit is contained in:
Maxim Poliakovski 2020-11-28 02:22:37 +01:00
parent 0e83ffe435
commit 2be8e7b542
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ endif()
endif()
find_package(PkgConfig REQUIRED)
pkg_check_modules(CAPSTONE REQUIRED capstone>=4.0.1)
pkg_check_modules(CAPSTONE REQUIRED capstone>=4.0.2)
include_directories(${CAPSTONE_INCLUDE_DIRS})
link_directories(${CAPSTONE_LIBRARY_DIRS})

View File

@ -27,7 +27,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
#include <stdio.h>
#include <string>
#include <thirdparty/loguru/loguru.hpp>
#include <capstone/capstone.h>
#include <capstone.h>
#include "../cpu/ppc/ppcdisasm.h"
#include "../cpu/ppc/ppcemu.h"
#include "../cpu/ppc/ppcmmu.h"