Merge pull request #105 from aras-p/master

Fix GLFW finding on OSX when location is in environment variable
This commit is contained in:
gelder 2013-02-03 08:50:26 -08:00
commit 4818e65228

View File

@ -132,6 +132,8 @@ else ()
PATHS
${GLFW_LOCATION}/lib
${GLFW_LOCATION}/lib/cocoa
$ENV{GLFW_LOCATION}/lib
$ENV{GLFW_LOCATION}/lib/cocoa
/usr/local/lib
)
set(GLFW_cocoa_LIBRARY "-framework Cocoa" CACHE STRING "Cocoa framework for OSX")