mirror of
https://github.com/Gongxh0901/kunpolibrary
synced 2025-12-05 20:29:10 +00:00
仓库中添加内置的demo
This commit is contained in:
20
demo/native/engine/common/xr.cmake
Normal file
20
demo/native/engine/common/xr.cmake
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
include(${COCOS_X_PATH}/cmake/predefine.cmake)
|
||||
|
||||
if(NOT DEFINED XR_COMMON_SOURCES)
|
||||
set(XR_COMMON_SOURCES)
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED XR_LIBS)
|
||||
set(XR_LIBS)
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED XR_COMMON_PATH)
|
||||
set(XR_COMMON_PATH ${CMAKE_CURRENT_LIST_DIR}/../../../extensions/xr-plugin/common)
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED XR_LIBRARY_PATH)
|
||||
set(XR_LIBRARY_PATH ${CMAKE_CURRENT_LIST_DIR}/../../../extensions/xr-plugin/platforms)
|
||||
endif()
|
||||
|
||||
include(${XR_COMMON_PATH}/xr.cmake)
|
||||
Reference in New Issue
Block a user