Properly report DX headers in the CMake project files (thanks, "MailMr_S"!).
authorRyan C. Gordon <icculus@icculus.org>
Tue, 26 May 2015 21:09:48 -0400
changeset 9647 5ab832f7bc38
parent 9646 9d4917e2d909
child 9648 e6bf740c92f8
Properly report DX headers in the CMake project files (thanks, "MailMr_S"!). Fixes Bugzilla #2900.
include/SDL_config.h.cmake
--- a/include/SDL_config.h.cmake	Fri Feb 27 21:17:29 2015 +0000
+++ b/include/SDL_config.h.cmake	Tue May 26 21:09:48 2015 -0400
@@ -47,6 +47,13 @@
 #cmakedefine HAVE_GCC_ATOMICS @HAVE_GCC_ATOMICS@
 #cmakedefine HAVE_GCC_SYNC_LOCK_TEST_AND_SET @HAVE_GCC_SYNC_LOCK_TEST_AND_SET@
 
+#cmakedefine HAVE_D3D_H @HAVE_D3D_H@
+#cmakedefine HAVE_D3D11_H @HAVE_D3D11_H@
+#cmakedefine HAVE_DDRAW_H @HAVE_DDRAW_H@
+#cmakedefine HAVE_DSOUND_H @HAVE_DSOUND_H@
+#cmakedefine HAVE_DINPUT_H @HAVE_DINPUT_H@
+#cmakedefine HAVE_XAUDIO2_H @HAVE_XAUDIO2_H@
+#cmakedefine HAVE_XINPUT_H @HAVE_XINPUT_H@
 #cmakedefine HAVE_DXGI_H @HAVE_DXGI_H@
 
 /* Comment this if you want to build without any C library requirements */