pro2cmake: Add PUBLIC to target_include_directories
Change-Id: Ie4e882a5713022bfaec7182172be69616ff8b91c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
772f5dbf1c
commit
75bb0b6cd1
@ -1704,7 +1704,7 @@ def write_example(cm_fh: typing.IO[str], scope: Scope,
|
||||
|
||||
cm_fh.write(')\n')
|
||||
|
||||
write_include_paths(cm_fh, scope, 'target_include_directories({}'.format(binary_name),
|
||||
write_include_paths(cm_fh, scope, 'target_include_directories({} PUBLIC'.format(binary_name),
|
||||
indent=0, footer=')')
|
||||
write_defines(cm_fh, scope, 'target_compile_definitions({} PUBLIC'.format(binary_name),
|
||||
indent=0, footer=')')
|
||||
|
Loading…
x
Reference in New Issue
Block a user