diff --git a/src/native/CMakeLists.txt b/src/native/CMakeLists.txt index b6e5c3a89..d38900d2e 100644 --- a/src/native/CMakeLists.txt +++ b/src/native/CMakeLists.txt @@ -33,6 +33,8 @@ if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) elseif (UNIX) if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND CMAKE_SIZEOF_VOID_P EQUAL 4) set(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_LIST_DIR}/../main/resources/linux-x86" CACHE PATH "default install path" FORCE) + elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") + set(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_LIST_DIR}/../main/resources/linux-x86-64" CACHE PATH "default install path" FORCE) else () set(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_LIST_DIR}/../main/resources/linux-${CMAKE_SYSTEM_PROCESSOR}" CACHE PATH "default install path" FORCE) endif ()