CMake project should install sdl2.m4.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 13 Jul 2013 00:10:25 -0400
changeset 7427 c47b59bac287
parent 7426 e36a759d3bb1
child 7428 9fb919fc2dd3
CMake project should install sdl2.m4. Fixes Bugzilla #1809.
CMakeLists.txt
--- a/CMakeLists.txt	Sat Jul 13 00:07:34 2013 -0400
+++ b/CMakeLists.txt	Sat Jul 13 00:10:25 2013 -0400
@@ -1184,4 +1184,5 @@
   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)