|
|
@ -100,6 +100,10 @@ if( BUILD_KIG AND WITH_KIG_PYTHON_SCRIPTING )
|
|
|
|
|
|
|
|
|
|
|
|
find_package( Boost COMPONENTS python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR} )
|
|
|
|
find_package( Boost COMPONENTS python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR} )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if( NOT Boost_FOUND )
|
|
|
|
|
|
|
|
find_package( Boost COMPONENTS python${PYTHON_VERSION_MAJOR} )
|
|
|
|
|
|
|
|
endif( )
|
|
|
|
|
|
|
|
|
|
|
|
if( NOT Boost_FOUND )
|
|
|
|
if( NOT Boost_FOUND )
|
|
|
|
find_package( Boost COMPONENTS python )
|
|
|
|
find_package( Boost COMPONENTS python )
|
|
|
|
endif( )
|
|
|
|
endif( )
|
|
|
@ -110,6 +114,9 @@ if( NOT Boost_FOUND )
|
|
|
|
set( KIG_ENABLE_PYTHON_SCRIPTING 1 )
|
|
|
|
set( KIG_ENABLE_PYTHON_SCRIPTING 1 )
|
|
|
|
endif( NOT Boost_FOUND )
|
|
|
|
endif( NOT Boost_FOUND )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if( NOT Boost_PYTHON_LIBRARY AND Boost_PYTHON${PYTHON_VERSION_MAJOR}_LIBRARY )
|
|
|
|
|
|
|
|
set( Boost_PYTHON_LIBRARY "${Boost_PYTHON${PYTHON_VERSION_MAJOR}_LIBRARY}" )
|
|
|
|
|
|
|
|
endif( )
|
|
|
|
if( NOT Boost_PYTHON_LIBRARY AND Boost_PYTHON${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}_LIBRARY )
|
|
|
|
if( NOT Boost_PYTHON_LIBRARY AND Boost_PYTHON${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}_LIBRARY )
|
|
|
|
set( Boost_PYTHON_LIBRARY "${Boost_PYTHON${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}_LIBRARY}" )
|
|
|
|
set( Boost_PYTHON_LIBRARY "${Boost_PYTHON${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}_LIBRARY}" )
|
|
|
|
endif( )
|
|
|
|
endif( )
|
|
|
|