Skip to content

Commit

Permalink
Merge pull request #162 from cortex-command-community/linux-luabind-e…
Browse files Browse the repository at this point in the history
…rror-check

Enable Luabind error checking on linux
  • Loading branch information
Causeless authored Dec 7, 2024
2 parents bea2868 + 1ef5eda commit b6e5c5d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions external/sources/luabind-0.7.1/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,8 @@ elif cxx.get_argument_syntax() == 'msvc'
cpp_options = ['cpp_std=vc++20']
endif

if (not get_option('debug')) or get_option('debug_type') == 'release'
luabind_args += ['-DLUABIND_NO_ERROR_CHECKING=1']
endif

luabind = static_library('luabind071', luabind_src, dependencies: luabind_dependencies, include_directories:luabind_include, cpp_args:cpp_args+ luabind_args, override_options: ['warning_level=0']+ cpp_options)

luabind_dep = declare_dependency(link_with: luabind, dependencies: deps, include_directories: luabind_include, compile_args: luabind_args)

meson.override_dependency('luabind', luabind_dep)
meson.override_dependency('luabind', luabind_dep)

0 comments on commit b6e5c5d

Please sign in to comment.