Skip to content

Commit 59b14e0

Browse files
committed
find_capstone.cmake: Fix error on debian 12
-- Build with capstone support CMake Error at CMakeLists.txt:249 (message): Not found capstone headers, you could $ cmake -DCONFIG_CAPSTONE=0 Signed-off-by: Rong Tao <[email protected]>
1 parent 6a8c453 commit 59b14e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/find_capstone.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# CAPSTONE_CAPSTONE_H - the capstone has capstone.h header
1111

1212
find_path(CAPSTONE_INCLUDE_DIRS
13-
NAMES capstone.h
13+
NAMES capstone/capstone.h
1414
PATH_SUFFIXES capstone
1515
PATHS ENV CPATH)
1616

0 commit comments

Comments
 (0)