From 378c5d7ffe2c23d65c462dc8b71a2e727c3ced7b Mon Sep 17 00:00:00 2001
From: Joel Winarske <[EMAIL REDACTED]>
Date: Sat, 23 Oct 2021 16:26:25 -0700
Subject: [PATCH] make aclocal install relative
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cfd57125c4..2cf6c3a2a1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2801,7 +2801,7 @@ if(NOT (WINDOWS OR CYGWIN) OR MINGW)
endif()
install(PROGRAMS ${SDL2_BINARY_DIR}/sdl2-config DESTINATION "${CMAKE_INSTALL_BINDIR}")
# TODO: what about the .spec file? Is it only needed for RPM creation?
- install(FILES "${SDL2_SOURCE_DIR}/sdl2.m4" DESTINATION "${CMAKE_INSTALL_FULL_DATAROOTDIR}/aclocal")
+ install(FILES "${SDL2_SOURCE_DIR}/sdl2.m4" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/aclocal")
endif()
##### Uninstall target #####