build(constants): changes install path to fourdst/constants

previously install path was at includedir/fourdst/fourdst/constants, this changes the install path to includedir/fourdst

BREAKING CHANGE: This change may break builds which did not previously use -I/usr/local/fourdst/ (i.e. if previous code included #include "fourdst/fourdst/constants/const.h" it will no longer function). Rather, code should use -I/usr/local/include (or whatever include dir was set by the user at build time) and then #include "fourdst/constants/const.h")
This commit is contained in:
2026-06-05 10:12:30 +02:00
parent efba74d9fe
commit bc219f48cb
2 changed files with 2 additions and 2 deletions

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('libconstants', 'cpp', version: 'v1.1.0', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0') project('libconstants', 'cpp', version: 'v1.1.1', 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')

View File

@@ -21,4 +21,4 @@ const_dep = declare_dependency(
const_headers = files( const_headers = files(
'include/fourdst/constants/const.h' 'include/fourdst/constants/const.h'
) )
install_headers(const_headers, subdir : 'fourdst/fourdst/constants') install_headers(const_headers, subdir : 'fourdst/constants')