CMake: Use PROJECT_VERSION for generated QtModule.json files
So that the correct version is generated in top-level builds. Change-Id: I360370815ce178564cc79157dc61d70adfd4f947 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
cbb4c59c38
commit
9471febddf
@ -1,6 +1,6 @@
|
||||
{
|
||||
"module_name": "${target}",
|
||||
"version": "${CMAKE_PROJECT_VERSION}",
|
||||
"version": "${PROJECT_VERSION}",
|
||||
"built_with": {
|
||||
"compiler_id": "${CMAKE_CXX_COMPILER_ID}",
|
||||
"compiler_target": "${CMAKE_CXX_COMPILER_TARGET}",
|
||||
|
Loading…
Reference in New Issue
Block a user