Enable engine-native to reference OpenXR headers and link with shared libraries (#157)
This commit is contained in:
parent
fc99b7a7ac
commit
0998425520
|
|
@ -30,6 +30,12 @@ set_target_properties(uv PROPERTIES
|
||||||
INTERFACE_INCLUDE_DIRECTORIES ${platform_spec_path}/include/uv
|
INTERFACE_INCLUDE_DIRECTORIES ${platform_spec_path}/include/uv
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_library(openxr SHARED IMPORTED GLOBAL)
|
||||||
|
set_target_properties(openxr PROPERTIES
|
||||||
|
IMPORTED_LOCATION ${platform_spec_path}/libxr_loader.so
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${platform_spec_path}/include/openxr
|
||||||
|
)
|
||||||
|
|
||||||
add_library(webp STATIC IMPORTED GLOBAL)
|
add_library(webp STATIC IMPORTED GLOBAL)
|
||||||
set_target_properties(webp PROPERTIES
|
set_target_properties(webp PROPERTIES
|
||||||
IMPORTED_LOCATION ${platform_spec_path}/libwebp.a
|
IMPORTED_LOCATION ${platform_spec_path}/libwebp.a
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue