From ff7b9eadcb1518320e33cf22e0313cb8b5996c48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 21 Jun 2018 12:05:01 +0200 Subject: [PATCH] modules: doc++ --- modules/FindSDL2.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/FindSDL2.cmake b/modules/FindSDL2.cmake index 19c2a256d..d0ad7357b 100644 --- a/modules/FindSDL2.cmake +++ b/modules/FindSDL2.cmake @@ -62,6 +62,9 @@ else() find_library(SDL2_LIBRARY_DEBUG NAMES SDL2d PATH_SUFFIXES ${_SDL_LIBRARY_PATH_SUFFIX}) + # FPHSA needs one of the _DEBUG/_RELEASE variables to check that the + # library was found -- using SDL_LIBRARY, which will get populated by + # select_library_configurations() below. set(SDL2_LIBRARY_NEEDED SDL2_LIBRARY) set(_SDL2_PATH_SUFFIXES SDL2) endif()