From 0791236a8f72526af8834e50e19c3e22c67da640 Mon Sep 17 00:00:00 2001 From: edorax Date: Sat, 11 Feb 2017 23:48:11 +0800 Subject: [PATCH] Improve the method to find SDL2. --- CMakeScripts/FindSDL2.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeScripts/FindSDL2.cmake b/CMakeScripts/FindSDL2.cmake index 5a25af08..63da103d 100644 --- a/CMakeScripts/FindSDL2.cmake +++ b/CMakeScripts/FindSDL2.cmake @@ -89,7 +89,8 @@ SET(SDL2_SEARCH_PATHS /opt/local # MacPorts /opt/csw # OpenCSW (Solaris) /opt - ${SDL2_PATH} + ${SDL2_PATH}/include + ${SDL2_PATH}/lib ) FIND_PATH(SDL2_INCLUDE_DIR SDL.h