From 80fa5d597783793afab25d55757254dcf9172716 Mon Sep 17 00:00:00 2001 From: Tomáš Chvátal Date: Sun, 16 Aug 2009 15:25:03 +0200 Subject: Move the bundled lib location as last hook. --- cmake/FindSDL.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmake/FindSDL.cmake') 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) -- cgit v1.2.3