Skip to content

Commit

Permalink
include/meson.build: only install headers if it's not a subproject
Browse files Browse the repository at this point in the history
  • Loading branch information
Gottox committed Jul 22, 2023
1 parent 0008992 commit f539d8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ headers = [

libsqsh_include = include_directories('.')

install_headers(headers, subdir: 'sqsh')
if not meson.is_subproject()
install_headers(headers, subdir: 'sqsh')
endif

0 comments on commit f539d8c

Please sign in to comment.