Browse Source

do not install if subproject

remove_deprecated_ffmpeg_api
Alexandros Theodotou 3 years ago
parent
commit
39fe737092
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 2
      inc/meson.build
  2. 2
      meson.build

2
inc/meson.build

@ -15,6 +15,8 @@ @@ -15,6 +15,8 @@
# You should have received a copy of the GNU Affero General Public License
# along with libaudec. If not, see <https://www.gnu.org/licenses/>.
if not meson.is_subproject()
install_headers (
join_paths ('audec', 'audec.h'),
subdir: 'audec')
endif

2
meson.build

@ -167,7 +167,7 @@ audec = static_library ( @@ -167,7 +167,7 @@ audec = static_library (
audec_deps,
],
include_directories: inc,
install: true,
install: not meson.is_subproject(),
)
# this is so that it can be used as a meson

Loading…
Cancel
Save