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:
@@ -18,7 +18,7 @@
|
||||
# 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_project_arguments('-fvisibility=default', language: 'cpp')
|
||||
|
||||
@@ -21,4 +21,4 @@ const_dep = declare_dependency(
|
||||
const_headers = files(
|
||||
'include/fourdst/constants/const.h'
|
||||
)
|
||||
install_headers(const_headers, subdir : 'fourdst/fourdst/constants')
|
||||
install_headers(const_headers, subdir : 'fourdst/constants')
|
||||
|
||||
Reference in New Issue
Block a user