Commit 67516fb5 authored by Rolf Eike Beer's avatar Rolf Eike Beer Committed by Brad King

FindSDL: Allow if() to dereference SDL_INCLUDE_DIR for matching

Otherwise the syntax is incorrect when the variable is empty.
parent 62b19984
......@@ -106,7 +106,7 @@ find_library(SDL_LIBRARY_TEMP
if(NOT ${SDL_INCLUDE_DIR} MATCHES ".framework")
# Non-OS X framework versions expect you to also dynamically link to
# SDLmain. This is mainly for Windows and OS X. Other (Unix) platforms
# seem to provide SDLmain for compatibility even though they don't
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment