From 6a8b93637a544a0511786e21b9a5f8c79a47a519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=BC=D1=8F=D0=BD=20=D0=9C=D0=B8=D0=BD=D0=BA?= =?UTF-8?q?=D0=BE=D0=B2?= Date: Wed, 18 May 2022 15:35:43 -0500 Subject: [PATCH] fix: Fix linux-x86-64 folder expected by jna. Cmake was creating folder linux-x86_64. --- src/native/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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 ()