CMake: Add versionless function names

Task-number: QTBUG-86827
Change-Id: I4b1931ca63c3d589c8167d04a1cd3712f8ba30d6
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Alexandru Croitor 2020-10-26 12:08:12 +01:00
parent e48005a356
commit afe107fb13
2 changed files with 10 additions and 0 deletions

View File

@ -69,3 +69,8 @@ function(qt6_generate_wayland_protocol_client_sources target)
target_include_directories(${target} PRIVATE ${target_binary_dir})
endfunction()
if(NOT QT_NO_CREATE_VERSIONLESS_FUNCTIONS)
function(qt_generate_wayland_protocol_client_sources)
qt6_generate_wayland_protocol_client_sources(${ARGV})
endfunction()
endif()

View File

@ -56,3 +56,8 @@ function(qt6_generate_wayland_protocol_server_sources target)
target_include_directories(${target} PRIVATE ${target_binary_dir})
endfunction()
if(NOT QT_NO_CREATE_VERSIONLESS_FUNCTIONS)
function(qt_generate_wayland_protocol_server_sources)
qt6_generate_wayland_protocol_server_sources(${ARGV})
endfunction()
endif()