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_image.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmake/FindSDL_image.cmake') diff --git a/cmake/FindSDL_image.cmake b/cmake/FindSDL_image.cmake index 114924a..a6dddf6 100644 --- a/cmake/FindSDL_image.cmake +++ b/cmake/FindSDL_image.cmake @@ -30,13 +30,13 @@ FIND_PATH(SDLIMAGE_INCLUDE_DIR SDL_image.h /usr/include /sw/include/SDL # Fink /sw/include - ${CMAKE_SOURCE_DIR}/packaging/windows/SDL/include #tuxanci /opt/local/include/SDL # DarwinPorts /opt/local/include /opt/csw/include/SDL # Blastwave /opt/csw/include /opt/include/SDL /opt/include + ${CMAKE_SOURCE_DIR}/packaging/windows/SDL/include #tuxanci ) FIND_LIBRARY(SDLIMAGE_LIBRARY @@ -46,7 +46,6 @@ FIND_LIBRARY(SDLIMAGE_LIBRARY $ENV{SDLDIR} PATH_SUFFIXES lib64 lib PATHS - ${CMAKE_SOURCE_DIR}/packaging/windows/SDL/ ~/Library/Frameworks /Library/Frameworks /usr/local @@ -55,6 +54,7 @@ FIND_LIBRARY(SDLIMAGE_LIBRARY /opt/local /opt/csw /opt + ${CMAKE_SOURCE_DIR}/packaging/windows/SDL/ ) SET(SDLIMAGE_FOUND "NO") -- cgit v1.2.3