diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index b23ebf77a66..280f6111934 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -390,7 +390,9 @@ if (UNIX) set(OS_SRCS ${OS_SRCS} unix/loader_android.c) else () set(OS_SRCS ${OS_SRCS} unix/loader_linux.c) - set(OS_SRCS ${OS_SRCS} unix/coredump.c) + if (X64) + set(OS_SRCS ${OS_SRCS} unix/coredump.c) + endif () endif () set(OS_SRCS ${OS_SRCS} unix/memquery_linux.c) set(OS_SRCS ${OS_SRCS} unix/memquery.c)