mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
484f10132d
Co-Authored-By: Linus Groh <mail@linusgroh.de> Co-Authored-By: Panagiotis "Ivory" Vasilopoulos <git@n0toose.net> Co-Authored-By: lilylunatic <lily@acab.dev> Co-Authored-By: io_err <quint@guvernator.net>
22 lines
1,003 B
Diff
22 lines
1,003 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Dominika Liberda <ja@sdomi.pl>
|
|
Date: Sun, 2 Jul 2023 07:21:46 +0200
|
|
Subject: [PATCH] Correct the resource install path
|
|
|
|
---
|
|
CMakeLists.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index a68f38ec32e7d240dae28998caf5511e936533ea..38a93e7bf5bd388e9b08810cd2488ba8fefff711 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -593,7 +593,7 @@ else()
|
|
if(NOT STK_INSTALL_DATA_DIR_ABSOLUTE)
|
|
get_filename_component(STK_INSTALL_DATA_DIR_ABSOLUTE ${STK_INSTALL_DATA_DIR} ABSOLUTE)
|
|
if(${STK_INSTALL_DATA_DIR_ABSOLUTE} STREQUAL ${STK_INSTALL_DATA_DIR})
|
|
- add_definitions(-DSUPERTUXKART_DATADIR=\"${STK_INSTALL_DATA_DIR_ABSOLUTE}\")
|
|
+ add_definitions(-DSUPERTUXKART_DATADIR=\"/opt/SuperTuxKart\")
|
|
else()
|
|
add_definitions(-DSUPERTUXKART_DATADIR=\"${CMAKE_INSTALL_PREFIX}/${STK_INSTALL_DATA_DIR}\")
|
|
endif()
|