removed duplicate hints entries

This commit is contained in:
Thijs Wenker 2014-10-20 22:28:02 +02:00
parent 3cd42b7671
commit 90a1f141ba

View file

@ -120,7 +120,7 @@ FIND_PATH(SDL2_INCLUDE_DIR SDL.h
/opt/local # DarwinPorts
/opt/csw # Blastwave
/opt
Include HINTS ${SDL2_SEARCH_DIRS}
${SDL2_SEARCH_DIRS}
)
# Lookup the 64 bit libs on x64
@ -136,7 +136,7 @@ IF(CMAKE_SIZEOF_VOID_P EQUAL 8)
/opt/local
/opt/csw
/opt
Include HINTS ${SDL2_SEARCH_DIRS}
${SDL2_SEARCH_DIRS}
)
# On 32bit build find the 32bit libs
ELSE(CMAKE_SIZEOF_VOID_P EQUAL 8)
@ -151,7 +151,7 @@ ELSE(CMAKE_SIZEOF_VOID_P EQUAL 8)
/opt/local
/opt/csw
/opt
Include HINTS ${SDL2_SEARCH_DIRS}
${SDL2_SEARCH_DIRS}
)
ENDIF(CMAKE_SIZEOF_VOID_P EQUAL 8)
@ -175,7 +175,7 @@ IF(NOT SDL2_BUILDING_LIBRARY)
/opt/local
/opt/csw
/opt
Include HINTS ${SDL2_SEARCH_DIRS}
${SDL2_SEARCH_DIRS}
)
# On 32bit build find the 32bit libs
ELSE(CMAKE_SIZEOF_VOID_P EQUAL 8)
@ -191,7 +191,7 @@ IF(NOT SDL2_BUILDING_LIBRARY)
/opt/local
/opt/csw
/opt
Include HINTS ${SDL2_SEARCH_DIRS}
${SDL2_SEARCH_DIRS}
)
ENDIF(CMAKE_SIZEOF_VOID_P EQUAL 8)
ENDIF(NOT ${SDL2_INCLUDE_DIR} MATCHES ".framework")