cmake: Allow target to specify initial module internal config
Change-Id: I7312fa19aad84b020015b304b1cd2cd5acc83b81 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
5cb150be46
commit
851e1cb4c4
@ -152,7 +152,9 @@ function(qt_generate_module_pri_file target)
|
|||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
set(module_internal_config v2)
|
get_target_property(module_internal_config "${target}" "${property_prefix}QT_MODULE_INTERNAL_CONFIG")
|
||||||
|
list(APPEND module_internal_config v2)
|
||||||
|
|
||||||
if(arg_INTERNAL_MODULE)
|
if(arg_INTERNAL_MODULE)
|
||||||
list(APPEND module_internal_config internal_module)
|
list(APPEND module_internal_config internal_module)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user