project('install_data following symlinks') install_data( 'foo/link1', install_dir: get_option('datadir') / 'followed', follow_symlinks: true, ) install_headers( 'foo/link2.h', follow_symlinks: true, subdir: 'followed' ) install_data( 'foo/link1', install_dir: get_option('datadir'), follow_symlinks: false, ) install_headers( 'foo/link2.h', follow_symlinks: false, ) install_subdir( 'foo', install_dir: get_option('datadir') / 'subdir', strip_directory: true, follow_symlinks: false, ) install_subdir( 'foo', install_dir: get_option('datadir') / 'subdir_followed', strip_directory: true, follow_symlinks: true, )