make aclocal install relative

This commit is contained in:
Joel Winarske 2021-10-23 16:26:25 -07:00 committed by Ryan C. Gordon
parent c7dafb1556
commit 378c5d7ffe

View file

@ -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 #####