Make a new Build option for building VR support and make FindRift using the 64bit libs
This commit is contained in:
@@ -44,11 +44,11 @@ IF(OCULUS_ROOT)
|
||||
)
|
||||
SET(OCULUS_LIBRARY_SEARCH_RELEASE_DIRS
|
||||
${OCULUS_LIBRARY_SEARCH_DIRS}
|
||||
${OCULUS_ROOT}/lib/Win32
|
||||
${OCULUS_ROOT}/Lib/x64/VS2012
|
||||
)
|
||||
SET(OCULUS_LIBRARY_SEARCH_DEBUG_DIRS
|
||||
${OCULUS_LIBRARY_SEARCH_DIRS}
|
||||
${OCULUS_ROOT}/lib/Win32
|
||||
${OCULUS_ROOT}/Lib/x64/VS2012
|
||||
)
|
||||
ENDIF()
|
||||
|
||||
@@ -62,11 +62,11 @@ FIND_PATH(OCULUS_INCLUDE_DIR OVR.h
|
||||
PATHS ${OCULUS_INCLUDE_SEARCH_DIRS})
|
||||
|
||||
# Search for libraries files (release mode)
|
||||
FIND_LIBRARY(OCULUS_LIBRARY_RELEASE libovr
|
||||
FIND_LIBRARY(OCULUS_LIBRARY_RELEASE libovr64
|
||||
PATHS ${OCULUS_LIBRARY_SEARCH_RELEASE_DIRS})
|
||||
|
||||
# Search for libraries files (debug mode)
|
||||
FIND_LIBRARY(OCULUS_LIBRARY_DEBUG libovrd
|
||||
FIND_LIBRARY(OCULUS_LIBRARY_DEBUG libovr64d
|
||||
PATHS ${OCULUS_LIBRARY_SEARCH_DEBUG_DIRS})
|
||||
|
||||
# Configure libraries for debug/release
|
||||
|
||||
Reference in New Issue
Block a user