From b29e471ea5d31e9384b5f77dd2af9e7ee215d92b Mon Sep 17 00:00:00 2001 From: Andrea Pappacoda Date: Sun, 10 Oct 2021 21:28:28 +0200 Subject: build(meson): fix CMake Config file include dir I previously set the path to ${CMAKE_CURRENT_LIST_FILE}/include, that was wrong and ended up pointing to a nonexistent directory. --- meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 59d0051..1634fd0 100644 --- a/meson.build +++ b/meson.build @@ -35,6 +35,7 @@ if meson.version().version_compare('>=0.50.0') cmake_conf = configuration_data() cmake_conf.set('TARGET_NAME', meson.project_name() + '::' + meson.project_name()) + cmake_conf.set('ABSOLUTE_INCLUDE_DIR', get_option('prefix')/get_option('includedir')) cmake.configure_package_config_file( name: meson.project_name(), -- cgit v1.2.3