Skip to content

Commit

Permalink
meson: rename build_codec option
Browse files Browse the repository at this point in the history
Rename to build_codec_apps to make it clearer
  • Loading branch information
Stéphane Cerveau authored and dabrain34 committed Sep 16, 2022
1 parent dceff50 commit 70c8add
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions subprojects/packagefiles/libopenjp2/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ subdir('src/lib')
#-----------------------------------------------------------------------------
# Build Applications

if get_option('build_codec')
if get_option('build_codec_apps')
# OFF: It will only build 3rd party libs if they are not found on the system
# ON: 3rd party libs will ALWAYS be build, and used
subdir('src/bin')
Expand All @@ -91,7 +91,7 @@ subdir('wrapping')
#-----------------------------------------------------------------------------
# Buld Testing
if get_option('build_testing')
if get_option('build_codec')
if get_option('build_codec_apps')
# Search openjpeg data needed for the tests
# They could be found via git on the OpenJPEG GitHub code project
# git clone https://github.com/uclouvain/openjpeg-data.git
Expand Down
2 changes: 1 addition & 1 deletion subprojects/packagefiles/libopenjp2/meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ option('opj_disable_tpsot_fix', type : 'boolean', value : false, description : '
option('opj_use_thread', type : 'boolean', value : true, description : 'Build with thread/mutex support ')
option('build_luts_generator', type : 'boolean', value : false, description : 'Build utility to generate t1_luts.h')
option('build_unit_tests', type : 'boolean', value : false, description : 'Build unit tests (bench_dwt, test_sparse_array, etc..)')
option('build_codec', type : 'boolean', value : true, description : 'Build the CODEC executables')
option('build_codec_apps', type : 'boolean', value : true, description : 'Build the CODEC executables')
option('build_jpip', type : 'boolean', value : false, description : 'Build the JPIP library and executables.')
option('build_jpip_server', type : 'boolean', value : false, description : 'Build the JPIP server.')
option('build_viewer', type : 'boolean', value : false, description : 'Build the OPJViewer executable (C++)')
Expand Down

0 comments on commit 70c8add

Please sign in to comment.