summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-01-08 19:57:57 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-01-08 19:57:57 (GMT)
commitf1b0340d6c57af3ca2799c344b866d9cc5c5cbbc (patch)
treed463efb952213f297b147fe57d877921c517067d
parent038caf38b2c72577f2ad74b5a24c522e5537fb96 (diff)
parent67516fb57e7f0781c79801efdcae8f76bb1adaae (diff)
downloadCMake-f1b0340d6c57af3ca2799c344b866d9cc5c5cbbc.zip
CMake-f1b0340d6c57af3ca2799c344b866d9cc5c5cbbc.tar.gz
CMake-f1b0340d6c57af3ca2799c344b866d9cc5c5cbbc.tar.bz2
Merge topic 'FindSDL-quoting'
67516fb5 FindSDL: Allow if() to dereference SDL_INCLUDE_DIR for matching
-rw-r--r--Modules/FindSDL.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindSDL.cmake b/Modules/FindSDL.cmake
index 3905e54..45ca1d4 100644
--- a/Modules/FindSDL.cmake
+++ b/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