mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 19:49:55 +00:00
Added Win32 and Apple LibOVR build paths
This commit is contained in:
parent
6c049ae905
commit
48cc5ac5fe
1 changed files with 15 additions and 5 deletions
|
@ -21,11 +21,21 @@ FIND_PATH(LIBOVR_INCLUDE_DIR
|
||||||
/opt/include
|
/opt/include
|
||||||
)
|
)
|
||||||
|
|
||||||
IF(TARGET_CPU STREQUAL "x86_64")
|
IF(UNIX)
|
||||||
SET(LIBOVR_LIBRARY_BUILD_PATH "Lib/Linux/Release/x86_64")
|
IF(TARGET_X64)
|
||||||
ELSE(TARGET_CPU STREQUAL "x86_64")
|
SET(LIBOVR_LIBRARY_BUILD_PATH "Lib/Linux/Release/x86_64")
|
||||||
SET(LIBOVR_LIBRARY_BUILD_PATH "Lib/Linux/Release/i386")
|
ELSE(TARGET_X64)
|
||||||
ENDIF(TARGET_CPU STREQUAL "x86_64")
|
SET(LIBOVR_LIBRARY_BUILD_PATH "Lib/Linux/Release/i386")
|
||||||
|
ENDIF(TARGET_X64)
|
||||||
|
ELSEIF(APPLE)
|
||||||
|
SET(LIBOVR_LIBRARY_BUILD_PATH "Lib/MacOS/Release")
|
||||||
|
ELSEIF(WIN32)
|
||||||
|
IF(TARGET_X64)
|
||||||
|
SET(LIBOVR_LIBRARY_BUILD_PATH "Lib/x64")
|
||||||
|
ELSE(TARGET_X64)
|
||||||
|
SET(LIBOVR_LIBRARY_BUILD_PATH "Lib/Win32")
|
||||||
|
ENDIF(TARGET_X64)
|
||||||
|
ENDIF(UNIX)
|
||||||
|
|
||||||
FIND_LIBRARY(LIBOVR_LIBRARY
|
FIND_LIBRARY(LIBOVR_LIBRARY
|
||||||
NAMES ovr
|
NAMES ovr
|
||||||
|
|
Loading…
Reference in a new issue