wasm: disable x.y.z suffix versioning
This simplifies deployment and eliminates the possibility for duplicate downloads due to the browser/server not understanding symlinks. Change-Id: Ife22c052c424f309d76ff0f9118c01e98426da95 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
53b413f1c5
commit
a46a77a8b4
@ -327,14 +327,21 @@ function(qt_internal_add_module target)
|
|||||||
EXPORT_PROPERTIES "${export_properties}")
|
EXPORT_PROPERTIES "${export_properties}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(WASM AND BUILD_SHARED_LIBS)
|
||||||
|
set(version_args "")
|
||||||
|
else()
|
||||||
|
set(version_args
|
||||||
|
VERSION ${PROJECT_VERSION}
|
||||||
|
SOVERSION ${PROJECT_VERSION_MAJOR})
|
||||||
|
endif()
|
||||||
|
|
||||||
if(NOT arg_HEADER_MODULE)
|
if(NOT arg_HEADER_MODULE)
|
||||||
set_target_properties(${target} PROPERTIES
|
set_target_properties(${target} PROPERTIES
|
||||||
LIBRARY_OUTPUT_DIRECTORY "${QT_BUILD_DIR}/${INSTALL_LIBDIR}"
|
LIBRARY_OUTPUT_DIRECTORY "${QT_BUILD_DIR}/${INSTALL_LIBDIR}"
|
||||||
RUNTIME_OUTPUT_DIRECTORY "${QT_BUILD_DIR}/${INSTALL_BINDIR}"
|
RUNTIME_OUTPUT_DIRECTORY "${QT_BUILD_DIR}/${INSTALL_BINDIR}"
|
||||||
ARCHIVE_OUTPUT_DIRECTORY "${QT_BUILD_DIR}/${INSTALL_LIBDIR}"
|
ARCHIVE_OUTPUT_DIRECTORY "${QT_BUILD_DIR}/${INSTALL_LIBDIR}"
|
||||||
VERSION ${PROJECT_VERSION}
|
${version_args}
|
||||||
SOVERSION ${PROJECT_VERSION_MAJOR}
|
)
|
||||||
)
|
|
||||||
qt_set_target_info_properties(${target} ${ARGN})
|
qt_set_target_info_properties(${target} ${ARGN})
|
||||||
qt_handle_multi_config_output_dirs("${target}")
|
qt_handle_multi_config_output_dirs("${target}")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user