From ef9a35ec0d763b5f518fed4b3216494e9759245e Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Mon, 24 Nov 2025 20:01:45 +0000 Subject: [PATCH] fix git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@802 b9cfdab3-6d41-4d17-bbe4-086880011989 --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c6888f5..8df0ebf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,10 @@ project( include(CheckIncludeFiles) +include(GNUInstallDirs) +set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_FULL_LIBDIR}") +set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) + option(BUILD_OPENGL "Compile OpenGL widget or not" ON) if(CMAKE_SYSTEM_NAME STREQUAL "SunOS") option(BUILD_VULKAN "Compile Vulkan widget or not" OFF)