Browse Source

Added search for SDL in dependencies directory by default

David Wimsey 11 years ago
parent
commit
529a2f2c58
1 changed files with 8 additions and 0 deletions
  1. 8 0
      Build/CMakeLists.txt

+ 8 - 0
Build/CMakeLists.txt

@@ -63,6 +63,14 @@ if(NOT DEFINED ENV{LUA_DIR})
 	set(ENV{LUA_DIR} "${PROJECT_SOURCE_DIR}/../Dependencies")
 endif()
 
+if(NOT DEFINED ENV{SDLDIR})
+	set(ENV{SDLDIR} "${PROJECT_SOURCE_DIR}/../Dependencies")
+endif()
+
+if(NOT DEFINED ENV{SDLIMAGEDIR})
+	set(ENV{SDLIMAGEDIR} "${PROJECT_SOURCE_DIR}/../Dependencies")
+endif()
+
 #===================================
 # Build options ====================
 #===================================