From 7de10e8be2234d7e7b9cee9c58debd03ba6beeb6 Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Fri, 30 May 2025 23:11:52 -0500 Subject: [PATCH] Fix Wii --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0c10655..9f21a98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -184,9 +184,9 @@ if(TESSESFRAMEWORK_FETCHCONTENT AND TESSESFRAMEWORK_ENABLE_MBED) target_link_libraries(tessesframework_shared PUBLIC mbedtls mbedx509 mbedcrypto everest p256m) set(CMAKE_MACOSX_RPATH 1) if (APPLE) - set(CMAKE_INSTALL_RPATH "@executable_path/../${CMAKE_INSTALL_LIBDIR}") + set(CMAKE_INSTALL_RPATH "@executable_path") else() - set(CMAKE_INSTALL_RPATH "$ORIGIN/../${CMAKE_INSTALL_LIBDIR}") + set(CMAKE_INSTALL_RPATH "$ORIGIN") endif() endif() list(APPEND TessesFrameworkLibs tessesframework_shared)