libcmd: install generated headers as well

these seem to have been forgotten.

Change-Id: I6a084827d087f8098c19b62f2060a874d87202a1
This commit is contained in:
eldritch horrors 2024-04-10 22:08:07 +02:00
parent 725f5cd358
commit f42678802c

View file

@ -58,6 +58,13 @@ libcmd = library(
) )
install_headers(libcmd_headers, subdir : 'nix', preserve_path : true) install_headers(libcmd_headers, subdir : 'nix', preserve_path : true)
custom_target(
command : [ 'cp', '@INPUT@', '@OUTPUT@' ],
input : libcmd_generated_headers,
output : '@PLAINNAME@',
install : true,
install_dir : includedir / 'nix',
)
liblixcmd = declare_dependency( liblixcmd = declare_dependency(
include_directories : '.', include_directories : '.',