Merge pull request #2880 from murillodigital/master

CMake find LibOVR
This commit is contained in:
Leonardo Murillo 2014-05-18 20:59:44 -06:00
commit d8ff7954d5

View file

@ -49,8 +49,7 @@ else (LIBOVR_LIBRARIES AND LIBOVR_INCLUDE_DIRS)
set(WINDOWS_LIBOVR_NAME "libovr.lib")
endif()
# FIX: We shouldn't hardcode VS2010 the path below - fix this. Leo
find_library(LIBOVR_LIBRARIES "Lib/Win32/VS2010/${WINDOWS_LIBOVR_NAME}" HINTS ${LIBOVR_SEARCH_DIRS})
find_library(LIBOVR_LIBRARIES "Lib/Win32/${WINDOWS_LIBOVR_NAME}" HINTS ${LIBOVR_SEARCH_DIRS})
endif ()
if (LIBOVR_INCLUDE_DIRS AND LIBOVR_LIBRARIES)