fix(yaml-cpp): meson_source_root -> global_source_root

This commit is contained in:
2025-06-22 05:52:55 -04:00
parent 29c4fe3abb
commit 22980b5240
2 changed files with 4 additions and 2 deletions

View File

@@ -11,5 +11,7 @@ yaml_cpp_sp = cmake.subproject(
) )
yaml_cpp_dep = yaml_cpp_sp.dependency('yaml-cpp') yaml_cpp_dep = yaml_cpp_sp.dependency('yaml-cpp')
yaml_cpp_headers = meson.project_source_root() + '/subprojects/yaml-cpp/include/yaml-cpp' message('Registering yaml-cpp headers (' + meson.global_source_root() + '/subprojects/yaml-cpp/include/yaml-cpp) for installation...')
yaml_cpp_headers = meson.global_source_root() + '/subprojects/yaml-cpp/include/yaml-cpp'
install_subdir(yaml_cpp_headers, install_dir: get_option('includedir')) install_subdir(yaml_cpp_headers, install_dir: get_option('includedir'))
message('Done registering yaml-cpp headers for installation!')

View File

@@ -18,7 +18,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# #
# *********************************************************************** # # *********************************************************************** #
project('libconfig', 'cpp', version: 'v1.0.7', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0') project('libconfig', 'cpp', version: 'v1.0.8', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0')
# Add default visibility for all C++ targets # Add default visibility for all C++ targets
add_project_arguments('-fvisibility=default', language: 'cpp') add_project_arguments('-fvisibility=default', language: 'cpp')