vcpkg/ports/openjpeg/Enable-tools-of-each-features.patch
Cheney Wang 0e672e7254
[openjpeg] Update version to 2.4.0 (#20021)
* [openjpeg] Update version to 2.4.0

* Modify linkage check and remove unused parameters

* Enable the tool generation of each features

Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
2021-09-27 17:20:33 -07:00

14 lines
563 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5a41078..747c61c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -277,7 +277,7 @@ mark_as_advanced(BUILD_VIEWER)
mark_as_advanced(BUILD_JAVA)
mark_as_advanced(BUILD_JP3D)
-if(BUILD_CODEC OR BUILD_MJ2)
+if(BUILD_CODEC OR BUILD_JPWL OR BUILD_MJ2 OR BUILD_JPIP OR BUILD_JP3D)
# 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
option(BUILD_THIRDPARTY "Build the thirdparty executables if it is needed" OFF)