mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
build: Relink if version script changes.
This commit is contained in:
parent
75d5e5b9f2
commit
95b5c03f10
|
@ -51,6 +51,11 @@ if(NOT MSVC)
|
|||
APPEND_STRING
|
||||
PROPERTY LINK_FLAGS
|
||||
"-u xrNegotiateLoaderRuntimeInterface -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libopenxr.version")
|
||||
# Re-link if the version script changes.
|
||||
set_property(TARGET ${RUNTIME_TARGET}
|
||||
APPEND
|
||||
PROPERTY LINK_DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/libopenxr.version")
|
||||
endif()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue