mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: fix header installation paths
This commit is contained in:
@ -1,4 +1,6 @@
|
||||
libsysprof_ui_headers += files([
|
||||
if get_option('enable_gtk')
|
||||
|
||||
widgets_ui_headers = [
|
||||
'sp-cell-renderer-percent.h',
|
||||
'sp-empty-state-view.h',
|
||||
'sp-failed-state-view.h',
|
||||
@ -6,9 +8,9 @@ libsysprof_ui_headers += files([
|
||||
'sp-process-model-row.h',
|
||||
'sp-profiler-menu-button.h',
|
||||
'sp-recording-state-view.h',
|
||||
])
|
||||
]
|
||||
|
||||
libsysprof_ui_sources += files([
|
||||
widgets_ui_sources = [
|
||||
'sp-cell-renderer-percent.c',
|
||||
'sp-empty-state-view.c',
|
||||
'sp-failed-state-view.c',
|
||||
@ -16,4 +18,12 @@ libsysprof_ui_sources += files([
|
||||
'sp-process-model-row.c',
|
||||
'sp-profiler-menu-button.c',
|
||||
'sp-recording-state-view.c',
|
||||
])
|
||||
]
|
||||
|
||||
libsysprof_ui_headers += files(widgets_ui_headers)
|
||||
libsysprof_ui_sources += files(widgets_ui_sources)
|
||||
|
||||
install_headers(widgets_ui_headers,
|
||||
subdir: join_paths(libsysprof_header_subdir, 'widgets'))
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user