From 82468971015305db2bcb7b9717eddd4557a3a9cb Mon Sep 17 00:00:00 2001 From: nulano Date: Sat, 21 Sep 2019 02:42:20 +0200 Subject: [PATCH] openjp2 release build (cherry picked from commit 0c0b868139dc5ebecde803a952ae58c31aee12a9) --- winbuild/build_dep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winbuild/build_dep.py b/winbuild/build_dep.py index 5720efb1a..7fea57772 100644 --- a/winbuild/build_dep.py +++ b/winbuild/build_dep.py @@ -143,7 +143,7 @@ setlocal @echo on cd /D %%OPENJPEG%%%(inc_dir)s -%%CMAKE%% -DBUILD_THIRDPARTY:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=OFF -G "NMake Makefiles" . +%%CMAKE%% -DBUILD_THIRDPARTY:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=OFF -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles" . nmake -nologo -f Makefile clean nmake -nologo -f Makefile copy /Y /B bin\* %%INCLIB%%