diff --git a/CMakeLists.txt b/CMakeLists.txt index 38c139e47..4e002778c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1184,4 +1184,5 @@ if(NOT WINDOWS OR CYGWIN) endif(FREEBSD) install(PROGRAMS ${SDL2_BINARY_DIR}/sdl2-config DESTINATION bin) # TODO: what about the .spec file? Is it only needed for RPM creation? + install(FILES "${SDL2_SOURCE_DIR}/sdl2.m4" DESTINATION "share/aclocal") endif(NOT WINDOWS OR CYGWIN)