@ -35,7 +35,7 @@
# O n e s p e c i a l t a r g e t i s " s h o w - v e r s i o n " , w h i c h c a n b e b u i l t
# t o o b t a i n t h e v e r s i o n n u m b e r f r o m h e r e .
cmake_minimum_required ( VERSION 3. 2 FATAL_ERROR )
cmake_minimum_required ( VERSION 3. 3 FATAL_ERROR )
project ( CALAMARES
V E R S I O N 3 . 2 . 1 2
L A N G U A G E S C C X X )
@ -96,10 +96,10 @@ set( CALAMARES_DESCRIPTION_SUMMARY
# ( s r @ l a t i n i n p a r t i c u l a r ) m a y n e e d s p e c i a l h a n d l i n g i n C a l a m a r e s U t i l s . c p p .
#
# T O D O : d r o p t h e e s _ E S t r a n s l a t i o n f r o m T r a n s i f e x
# T O D O : m o v e eo ( Esperanto ) t o _ o k o n c e Q t c a n a c t u a l l y c r e a t e a
# l o c a l e f o r i t .
#
# N O T E : w h e n u p d a t i n g t h e l i s t f r o m T r a n s i f e x , c o p y t h e s e f o u r l i n e s
# N O T E : m o v e eo ( Esperanto ) t o _ o k o n c e Q t c a n a c t u a l l y c r e a t e a
# l o c a l e f o r i t . ( Q t 5 . 1 2 . 2 c a n , s e e c h e c k l a t e r o n ) .
# N O T E : u p d a t e t h e s e l i n e s b y r u n n i n g t x s t a t s . p y , o r c o p y t h e s e f o u r l i n e s
# a n d p r e f i x e a c h v a r i a b l e n a m e w i t h " p " , s o t h a t t h e a u t o m a t i c
# c h e c k s f o r n e w l a n g u a g e s a n d m i s s p e l l e d o n e s a r e done ( that is,
# c o p y t h e s e f o u r l i n e s t o f o u r b a c k u p l i n e s , a d d " p " , a n d t h e n u p d a t e
@ -128,6 +128,10 @@ set( BOOSTPYTHON_VERSION 1.55.0 )
#
set ( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMakeModules" )
# E n a b l e I N _ L I S T
if ( POLICY CMP0057 )
cmake_policy ( SET CMP0057 NEW )
endif ( )
# C M a k e 3 . 9 , 3 . 1 0 c o m p a t i b i l i t y
if ( POLICY CMP0071 )
cmake_policy ( SET CMP0071 NEW )
@ -249,6 +253,15 @@ include( CMakeColors )
# # # D E P E N D E N C I E S
#
find_package ( Qt5 ${ QT_VERSION } CONFIG REQUIRED Concurrent Core Gui Widgets LinguistTools Svg Quick QuickWidgets )
if ( Qt5_VERSION VERSION_GREATER 5.12.1 )
# A t l e a s t Q t 5 . 1 2 . 2 s e e m s t o s u p p o r t E s p e r a n t o i n Q L o c a l e
if ( "eo" IN_LIST _tx_incomplete )
message ( STATUS "Esperanto support since Qt 5.12.2, enabling Esperanto locale" )
list ( REMOVE_ITEM _tx_incomplete "eo" )
list ( APPEND _tx_ok "eo" )
endif ( )
endif ( )
find_package ( YAMLCPP ${ YAMLCPP_VERSION } REQUIRED )
if ( INSTALL_POLKIT )
find_package ( PolkitQt5-1 REQUIRED )