diff options
Diffstat (limited to 'Modules/FindSDL_ttf.cmake')
-rw-r--r-- | Modules/FindSDL_ttf.cmake | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/Modules/FindSDL_ttf.cmake b/Modules/FindSDL_ttf.cmake index f77664e..e1113d6 100644 --- a/Modules/FindSDL_ttf.cmake +++ b/Modules/FindSDL_ttf.cmake @@ -20,11 +20,7 @@ FIND_PATH(SDLTTF_INCLUDE_DIR SDL_ttf.h NO_DEFAULT_PATH PATH_SUFFIXES include ) -FIND_PATH(SDLTTF_INCLUDE_DIR SDL_ttf.h - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES include -) + FIND_PATH(SDLTTF_INCLUDE_DIR SDL_ttf.h PATHS ~/Library/Frameworks @@ -55,12 +51,7 @@ FIND_LIBRARY(SDLTTF_LIBRARY NO_DEFAULT_PATH PATH_SUFFIXES lib64 lib ) -FIND_LIBRARY(SDLTTF_LIBRARY - NAMES SDL_ttf - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES lib64 lib -) + FIND_LIBRARY(SDLTTF_LIBRARY NAMES SDL_ttf PATHS |