Skip to content

Commit

Permalink
build: fix can't find rapidjson/prettywriter.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Crazyokd committed Aug 3, 2024
1 parent 0fec569 commit 21f4981
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ pistache_example_files = [
threads_dep = dependency('threads')

foreach example_name : pistache_example_files
executable('run'+example_name, example_name+'.cc', dependencies: [pistache_dep, threads_dep])
executable('run'+example_name, example_name+'.cc', dependencies: [pistache_dep, threads_dep, dependency('RapidJSON', fallback: ['rapidjson', 'rapidjson_dep'])])
endforeach
4 changes: 0 additions & 4 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ deps_libpistache = [
date_dep
]

if get_option('PISTACHE_USE_RAPIDJSON')
deps_libpistache += dependency('RapidJSON', fallback: ['rapidjson', 'rapidjson_dep'])
endif

# Support Brotli compressed Content-Encoding responses...
if get_option('PISTACHE_USE_CONTENT_ENCODING_BROTLI')

Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.1.20240626
0.3.1.20240803

0 comments on commit 21f4981

Please sign in to comment.