diff options
| author | mayeut <mayeut@users.noreply.github.com> | 2015-07-04 00:04:55 +0200 |
|---|---|---|
| committer | mayeut <mayeut@users.noreply.github.com> | 2015-07-04 00:04:55 +0200 |
| commit | c999b6c0f0a5027cc06e4ce7513e7fa0949889b9 (patch) | |
| tree | 001af091f2631039f0d37fbc4657784590adcfcf /src/lib/openjp2/CMakeLists.txt | |
| parent | 4e0de649bd87cc5c3e89ab09d954f3b0c9e6bedd (diff) | |
uclouvain/openjpeg#254 Add build option to disable the fix
Diffstat (limited to 'src/lib/openjp2/CMakeLists.txt')
| -rw-r--r-- | src/lib/openjp2/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/openjp2/CMakeLists.txt b/src/lib/openjp2/CMakeLists.txt index 5727068c..0795f7c5 100644 --- a/src/lib/openjp2/CMakeLists.txt +++ b/src/lib/openjp2/CMakeLists.txt @@ -41,6 +41,11 @@ if(BUILD_JPIP) ) endif() +option(OPJ_DISABLE_TPSOT_FIX "Disable TPsot==TNsot fix. See https://github.com/uclouvain/openjpeg/issues/254." OFF) +if(OPJ_DISABLE_TPSOT_FIX) + add_definitions(-DOPJ_DISABLE_TPSOT_FIX) +endif() + # Build the library if(WIN32) if(BUILD_SHARED_LIBS) |
