Added missing parentheses
This commit is contained in:
parent
dffc84c013
commit
2e92a8f876
@ -143,7 +143,7 @@ def gen_cmakelists(project_name, min_cmake_version, default_build_type, relative
|
|||||||
'minsizerel': 'MinSizeRel'}
|
'minsizerel': 'MinSizeRel'}
|
||||||
|
|
||||||
_build_type = build_type_capitalized[default_build_type]
|
_build_type = build_type_capitalized[default_build_type]
|
||||||
s.append('\n# if CMAKE_BUILD_TYPE undefined, we set it to {0}'.format(_build_type)
|
s.append('\n# if CMAKE_BUILD_TYPE undefined, we set it to {0}'.format(_build_type))
|
||||||
s.append('if(NOT CMAKE_BUILD_TYPE)')
|
s.append('if(NOT CMAKE_BUILD_TYPE)')
|
||||||
s.append(' set(CMAKE_BUILD_TYPE "{0}")'.format(_build_type))
|
s.append(' set(CMAKE_BUILD_TYPE "{0}")'.format(_build_type))
|
||||||
s.append('endif()')
|
s.append('endif()')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user