@ -15,6 +15,11 @@
# l i b b o o s t _ p y t h o n - 3 . 4 . s o
# l i b b o o s t _ p y t h o n - 3 . 4 . s o
# d e p e n d i n g o n w h a t p y t h o n ' s t a r g e t s y o u s e l e c t e d d u r i n g i n s t a l l
# d e p e n d i n g o n w h a t p y t h o n ' s t a r g e t s y o u s e l e c t e d d u r i n g i n s t a l l
#
#
# O n F e d o r a > = 3 0 i n s t e a d , t h e b o o s t - p y t h o n 3 - d e v e l p r o v i d e s b o o s t l i b r a r y w i t h a
# n a m e l i k e :
# l i b b o o s t _ p y t h o n 3 7 . s o
# d e p e n d i n g o n w h a t p y t h o n ' s t a r g e t s y o u s e l e c t e d d u r i n g i n s t a l l
#
# find_boost_python3 ( ) t r i e s t o f i n d t h e p a c k a g e w i t h d i f f e r e n t c o m p o n e n t
# find_boost_python3 ( ) t r i e s t o f i n d t h e p a c k a g e w i t h d i f f e r e n t c o m p o n e n t
# n a m e s . B y d e f a u l t i t t r i e s " p y t h o n 3 " , " p y t h o n - p y $ s u f f i x " a n d
# n a m e s . B y d e f a u l t i t t r i e s " p y t h o n 3 " , " p y t h o n - p y $ s u f f i x " a n d
# " p y t h o n - $ d o t s u f f i x " , w h e r e s u f f i x i s b a s e d o n t h e ` p y t h o n _ v e r s i o n ` a r g u m e n t .
# " p y t h o n - $ d o t s u f f i x " , w h e r e s u f f i x i s b a s e d o n t h e ` p y t h o n _ v e r s i o n ` a r g u m e n t .
@ -46,6 +51,10 @@ macro( find_boost_python3 boost_version python_version found_var )
string ( REGEX REPLACE "([0-9]+)\\.([0-9]+)\\..*" "\\1\\2" _fbp_python_short_version ${ python_version } )
string ( REGEX REPLACE "([0-9]+)\\.([0-9]+)\\..*" "\\1\\2" _fbp_python_short_version ${ python_version } )
_find_boost_python3_int ( ${ boost_version } python-py ${ _fbp_python_short_version } _fbp_found )
_find_boost_python3_int ( ${ boost_version } python-py ${ _fbp_python_short_version } _fbp_found )
if ( NOT _fbp_found )
_find_boost_python3_int ( ${ boost_version } python ${ _fbp_python_short_version } _fbp_found )
endif ( )
if ( NOT _fbp_found )
if ( NOT _fbp_found )
# T h e f o l l o w i n g l o o p c h a n g e s t h e s e a r c h e d n a m e f o r G e n t o o b a s e d d i s t r i b u t i o n s
# T h e f o l l o w i n g l o o p c h a n g e s t h e s e a r c h e d n a m e f o r G e n t o o b a s e d d i s t r i b u t i o n s
# t u r n s " 3 . 4 . 1 2 3 a b c " i n t o " 3 . 4 "
# t u r n s " 3 . 4 . 1 2 3 a b c " i n t o " 3 . 4 "