[graphics/krita] 3rdparty/ext_heif: Perl: fix incorrect simplification of existence check for AOM

L. E. Segovia null at kde.org
Fri Jan 6 20:38:36 GMT 2023


Git commit f7ce555f3361a2f6afaa94eea8e44cc94072d3ca by L. E. Segovia.
Committed on 06/01/2023 at 20:30.
Pushed by lsegovia into branch 'master'.

Perl: fix incorrect simplification of existence check for AOM

CCMAIL: kimageshop at kde.org

M  +1    -1    3rdparty/ext_heif/CMakeLists.txt

https://invent.kde.org/graphics/krita/commit/f7ce555f3361a2f6afaa94eea8e44cc94072d3ca

diff --git a/3rdparty/ext_heif/CMakeLists.txt b/3rdparty/ext_heif/CMakeLists.txt
index f7ab295057..c7058eb635 100644
--- a/3rdparty/ext_heif/CMakeLists.txt
+++ b/3rdparty/ext_heif/CMakeLists.txt
@@ -54,7 +54,7 @@ endif()
 
 if(WIN32 AND KRITA_PERL_EXECUTABLE)
     set(LIBAOM_EXTRA_CMAKE_ARGS -DPERL_EXECUTABLE=${KRITA_PERL_EXECUTABLE})
-else()
+elseif (NOT WIN32)
     set(LIBAOM_EXTRA_CMAKE_ARGS -DCONFIG_PIC=1)
 endif()
 



More information about the kimageshop mailing list