Skip to content

Commit

Permalink
Reduce difference with upstream.
Browse files Browse the repository at this point in the history
  • Loading branch information
SaltyChiang committed Mar 26, 2024
1 parent 2da16c6 commit 82c0e42
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('vs-placebo', ['c', 'cpp'],
default_options: ['buildtype=release', 'b_ndebug=if-release', 'c_std=c99', 'cpp_std=c++11'],
default_options: ['buildtype=release', 'b_ndebug=if-release', 'c_std=c11', 'cpp_std=c++11'],
meson_version: '>=0.51.0',
version: '1.4.4'
)
Expand Down Expand Up @@ -41,8 +41,10 @@ if win32 and not dovi.found()
dovi = cc.find_library('dovi', required : false)
endif

use_dovi = dovi.found()

config_vsplacebo = configuration_data()
config_vsplacebo.set('HAVE_DOVI', dovi.found())
config_vsplacebo.set('HAVE_DOVI', use_dovi)

configure_file(
output: 'config_vsplacebo.h',
Expand Down

0 comments on commit 82c0e42

Please sign in to comment.