···45454646if(NOT MSVC)
4747 # Force the main "negotiate" symbol's inclusion
4848+ # and use a version script to ensure that's the only one we expose.
4849 set_property(TARGET ${RUNTIME_TARGET}
4950 APPEND_STRING
5051 PROPERTY LINK_FLAGS
5151- "-u xrNegotiateLoaderRuntimeInterface")
5252+ "-u xrNegotiateLoaderRuntimeInterface -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libopenxr.version")
5253endif()
53545455