diff -rupN openjpeg-2.3.1/CMakeLists.txt openjpeg-2.3.1-new/CMakeLists.txt --- openjpeg-2.3.1/CMakeLists.txt 2019-04-02 14:45:15.000000000 +0200 +++ openjpeg-2.3.1-new/CMakeLists.txt 2019-04-02 16:14:13.688252343 +0200 @@ -278,7 +278,6 @@ if(BUILD_CODEC OR BUILD_MJ2) # 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) - add_subdirectory(thirdparty) add_subdirectory(src/bin) endif () add_subdirectory(wrapping)