changeset 573:f3d9e10bcaf8

cmake: improve FindSDL2
author David Demelier <markand@malikania.fr>
date Fri, 10 Mar 2023 08:47:04 +0100
parents f7dcad94b7cf
children 8cf895e51fb6
files cmake/FindSDL2.cmake
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cmake/FindSDL2.cmake	Thu Mar 09 23:07:31 2023 +0100
+++ b/cmake/FindSDL2.cmake	Fri Mar 10 08:47:04 2023 +0100
@@ -47,7 +47,7 @@
 
 	find_library(
 		SDL2_${c}_LIBRARY
-		NAMES SDL2_${c} libSDL2_${c}
+		NAMES SDL2_${c} libSDL2_${c} SDL2_${c}d SDL2_${c}_d
 	)
 
 	if (NOT TARGET SDL2::${c} AND SDL2_${c}_LIBRARY)