diff --git a/meson.build b/meson.build
index c15b405..44ee737 100644
--- a/meson.build
+++ b/meson.build
@@ -11,7 +11,7 @@ root_include = include_directories('.')
 
 munit = library('munit',
     ['munit.c'],
-    install: meson.is_subproject())
+    install: not meson.is_subproject())
 
 if meson.is_subproject()
   munit_dep = declare_dependency(
