pro2cmake: Set default API version to the latest version
Change-Id: I83ac2eb3ca36e1454d34fd0181ce0dccc775b47f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
35e9c21793
commit
c8992894bb
@ -83,7 +83,7 @@ from helper import (
|
|||||||
|
|
||||||
|
|
||||||
cmake_version_string = "3.16"
|
cmake_version_string = "3.16"
|
||||||
cmake_api_version = 2
|
cmake_api_version = 3
|
||||||
|
|
||||||
|
|
||||||
def _parse_commandline():
|
def _parse_commandline():
|
||||||
@ -179,7 +179,7 @@ def _parse_commandline():
|
|||||||
"--api-version",
|
"--api-version",
|
||||||
dest="api_version",
|
dest="api_version",
|
||||||
type=int,
|
type=int,
|
||||||
help="Specify which cmake api version should be generated. 1 or 2, 2 is latest.",
|
help="Specify which cmake api version should be generated. 1, 2 or 3, 3 is latest.",
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user