diff --git a/meson.build b/meson.build index 97950ef0e8c..2664f27af86 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,6 @@ project('CMaNGOS WotLK', 'cpp', 'c', + license: 'GPL-2.0-only', + meson_version: '>=1.3.1', default_options : ['cpp_std=vc++17,c++17', 'buildtype=release', 'warning_level=0', 'default_library=static']) if build_machine.system() == 'windows' diff --git a/src/game/meson.build b/src/game/meson.build index c03e467ad8d..2f2b2b8c465 100644 --- a/src/game/meson.build +++ b/src/game/meson.build @@ -787,7 +787,7 @@ endif if not get_option('PCH') pch_files = [] else - pch_files = ['../game/pchdef.h', '../game/pchdef.cpp'] + pch_files = ['../game/pchdef.h'] endif game_args = ['-DDT_POLYREF64', '-D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0'] diff --git a/src/shared/meson.build b/src/shared/meson.build index 66493f4a0a6..46ca2dad247 100644 --- a/src/shared/meson.build +++ b/src/shared/meson.build @@ -76,7 +76,7 @@ actual_rev = vcs_tag( if not get_option('PCH') pch_files = [] else - pch_files = ['../shared/pchdef.h', '../shared/pchdef.cpp'] + pch_files = ['../shared/pchdef.h'] endif if get_option('BUILD_GAME_SERVER') or get_option('BUILD_LOGIN_SERVER') or get_option('BUILD_EXTRACTORS')