Solution to issue #386
Signed-off-by: ormorph <roma251078@mail.ru>
(cherry picked from commit d70bead1c9
)
r14.1.x
parent
97a3d6fa34
commit
756e57be49
@ -0,0 +1,12 @@
|
||||
--- a/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake 2024-08-08 09:26:10.425644153 +0300
|
||||
+++ b/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake 2024-08-08 09:26:47.997642582 +0300
|
||||
@@ -14,6 +14,8 @@
|
||||
math( EXPR POPPLER_VERSION_C "(${POPPLER_VERSION_MAJOR}*1000000) + (${POPPLER_VERSION_MINOR}*1000) + ${POPPLER_VERSION_PATCH}" )
|
||||
set( POPPLER_VERSION_C ${POPPLER_VERSION_C} CACHE INTERNAL "Poppler library version as code number" )
|
||||
|
||||
-if( NOT POPPLER_VERSION_C LESS 21012000 )
|
||||
+if( NOT POPPLER_VERSION_C LESS 24004000 )
|
||||
+ set( POPPLER_CXX_FEATURES cxx_std_20 CACHE INTERNAL "C++ standard required by Poppler" )
|
||||
+elseif( NOT POPPLER_VERSION_C LESS 21012000 )
|
||||
set( POPPLER_CXX_FEATURES cxx_std_17 CACHE INTERNAL "C++ standard required by Poppler" )
|
||||
endif()
|
Loading…
Reference in new issue