The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

build: Start using version script to reduce the number of exported symbols

+2 -1
+2 -1
src/xrt/targets/openxr/CMakeLists.txt
··· 45 45 46 46 if(NOT MSVC) 47 47 # Force the main "negotiate" symbol's inclusion 48 + # and use a version script to ensure that's the only one we expose. 48 49 set_property(TARGET ${RUNTIME_TARGET} 49 50 APPEND_STRING 50 51 PROPERTY LINK_FLAGS 51 - "-u xrNegotiateLoaderRuntimeInterface") 52 + "-u xrNegotiateLoaderRuntimeInterface -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libopenxr.version") 52 53 endif() 53 54 54 55