Browse Source

Merge branch 'FindSDL-quoting' into release

Brad King 11 years ago
parent
commit
ac16b88e50
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/FindSDL.cmake

+ 1 - 1
Modules/FindSDL.cmake

@@ -106,7 +106,7 @@ find_library(SDL_LIBRARY_TEMP
 )
 
 if(NOT SDL_BUILDING_LIBRARY)
-  if(NOT ${SDL_INCLUDE_DIR} MATCHES ".framework")
+  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