Commit 378c5d7ffe2c23d65c462dc8b71a2e727c3ced7b

Joel Winarske 2021-10-23T16:26:25

make aclocal install relative

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cfd5712..2cf6c3a 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 #####