CMake find LibOVR

This commit is contained in:
Leonardo Murillo 2014-05-18 20:59:41 -06:00
parent 5a7a876697
commit ee8722bc9f

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)