From d30d6c13e394aba497e16e65b941504597efd6ae Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Tue, 8 Apr 2025 21:11:02 +0200
Subject: [PATCH] cmake: install examples to
<prefix>/libexec/installed-tests/SDL3_ttf
(cherry picked from commit 402952b29edfe1968f0c8425db98c700010c8d83)
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2aac8d89..48d44fa6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -570,7 +570,7 @@ if(SDLTTF_SAMPLES)
if(SDLTTF_SAMPLES_INSTALL)
install(TARGETS ${prog}
- RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
+ RUNTIME DESTINATION "${CMAKE_INSTALL_LIBEXECDIR}/installed-tests/SDL3_ttf"
)
endif()
endforeach()