فهرست منبع

Check the Dependencies directory for Freetype and Boost

David Wimsey 11 سال پیش
والد
کامیت
455804140e
1فایلهای تغییر یافته به همراه12 افزوده شده و 0 حذف شده
  1. 12 0
      Build/CMakeLists.txt

+ 12 - 0
Build/CMakeLists.txt

@@ -40,6 +40,18 @@ include(TestForANSIForScope)
 include(TestForANSIStreamHeaders)
 include(TestForSTDNamespace)
 
+#===================================
+# Provide hints as to where depends=
+# might be found                   =
+#===================================
+
+if(NOT DEFINED ENV{FREETYPE_DIR})
+	set(ENV{FREETYPE_DIR} "${PROJECT_SOURCE_DIR}/../Dependencies")
+endif()
+
+if(NOT DEFINED ENV{Boost_DIR})
+	set(ENV{Boost_DIR} "${PROJECT_SOURCE_DIR}/../Dependencies")
+endif()
 
 #===================================
 # Build options ====================