Re: CMake code to find KrossPython

2011-03-01 Thread Sune Vuorela
On 2011-02-28, Daniel E. Moctezuma wrote: > Yes, this CMake code is to check whether or not the krosspython library is > installed on the system when you execute the configure file before build. > We think it is necessary to check it because it allows the user to know > which functionalities you

Re: CMake code to find KrossPython

2011-02-28 Thread Daniel E. Moctezuma
> > A few CMake tips: > * The if() block is not needed, as find_package_handle_standard_args is > responsible for setting KrossPython_FOUND if KROSSPYTHON_LIBRARY has > been found (pay attention to the capitalization). > > * You should not need to pass additional PATHS to find_library(), >

Re: CMake code to find KrossPython

2011-02-28 Thread Sune Vuorela
On 2011-02-27, Daniel E. Moctezuma wrote: > I'm trying to make a CMake Module to find whether or not KrossPython is > installed, as fas as I know once you install the Python plugin for Kross, > you will have a 'krosspython.so' file installed (in my case this file is in > /usr/lib64/kde4). It soun

Re: CMake code to find KrossPython

2011-02-28 Thread Andreas Pakulat
On 27.02.11 14:07:53, Daniel E. Moctezuma wrote: > I'm trying to make a CMake Module to find whether or not KrossPython is > installed, as fas as I know once you install the Python plugin for Kross, > you will have a 'krosspython.so' file installed (in my case this file is in > /usr/lib64/kde4). >

Re: CMake code to find KrossPython

2011-02-27 Thread Raphael Kubo da Costa
"Daniel E. Moctezuma" writes: > if( KROSSPYTHON_LIBRARY ) > set( KROSSPYTHON_FOUND TRUE ) > else( KROSSPYTHON_LIBRARY ) > find_library( KROSSPYTHON_LIBRARY > NAMES krosspython > PATHS ${KDE4_LIB_DIR} > ${LIB_INSTALL_DIR} ) > > inc

CMake code to find KrossPython

2011-02-27 Thread Daniel E. Moctezuma
Hi, I'm trying to make a CMake Module to find whether or not KrossPython is installed, as fas as I know once you install the Python plugin for Kross, you will have a 'krosspython.so' file installed (in my case this file is in /usr/lib64/kde4). The problem is, the code below is not finding that li