diff options
| author | Tomáš Chvátal <scarabeus@gentoo.org> | 2009-08-16 15:25:03 +0200 |
|---|---|---|
| committer | Tomáš Chvátal <scarabeus@gentoo.org> | 2009-08-16 15:25:03 +0200 |
| commit | 80fa5d597783793afab25d55757254dcf9172716 (patch) | |
| tree | 7340ac474acf2750ca963f21dffaf80b1bb6d748 /cmake/FindSDL.cmake | |
| parent | cf25a01ac556f9674e638422aacd0106ba16e71d (diff) | |
Move the bundled lib location as last hook.
Diffstat (limited to 'cmake/FindSDL.cmake')
| -rw-r--r-- | cmake/FindSDL.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/FindSDL.cmake b/cmake/FindSDL.cmake index 3c22b3b..5240357 100644 --- a/cmake/FindSDL.cmake +++ b/cmake/FindSDL.cmake @@ -67,7 +67,6 @@ FIND_PATH(SDL_INCLUDE_DIR SDL.h /usr/include/SDL11 /usr/local/include /usr/include - ${CMAKE_SOURCE_DIR}/packaging/windows/SDL/include #tuxanci /sw/include/SDL # Fink /sw/include /opt/local/include/SDL # DarwinPorts @@ -76,6 +75,7 @@ FIND_PATH(SDL_INCLUDE_DIR SDL.h /opt/csw/include /opt/include/SDL /opt/include + ${CMAKE_SOURCE_DIR}/packaging/windows/SDL/include #tuxanci ) #MESSAGE("SDL_INCLUDE_DIR is ${SDL_INCLUDE_DIR}") @@ -109,13 +109,13 @@ IF(NOT SDL_BUILDING_LIBRARY) $ENV{SDLDIR} PATH_SUFFIXES lib64 lib PATHS - ${CMAKE_SOURCE_DIR}/packaging/windows/SDL/ /usr/local /usr /sw /opt/local /opt/csw /opt + ${CMAKE_SOURCE_DIR}/packaging/windows/SDL/ ) ENDIF(NOT ${SDL_INCLUDE_DIR} MATCHES ".framework") ENDIF(NOT SDL_BUILDING_LIBRARY) |