On Friday February 27 2015 10:44:11 Omar Valerio wrote:
Hello Omar,

>Well yes I suggest you to use a FIND_LIBRARY directive inside your
>CMakeList.txt project file and HINT the compiler which location to prefer
>for the library to get linked.  (
>http://www.cmake.org/cmake/help/v3.0/command/find_library.html)

Except that there's no need for a library, but for the python interpreter. The 
project in question is kdev-python (1.6.1) .

>Would be helpful to know which version of CMake are you running, because in
>previous versions of CMake there was a bug preventing CMake to found the
>correct Python libraries. You can read more about here:

3.1.2

>Other than that there is and specific FindPython3Libs cmake module that you
>may want to try.  Here is the location where you can find it:
>
>https://qt.gitorious.org/pyside/shiboken/source/fdf8e4b70e2a82cda581ceae06a1c98fb20114f0:cmake/Modules/FindPython3Libs.cmake

Thanks, I'll have a look ... but I'd just as much NOT introduce another 
dependency ...

I'll ask around on the kdevelop ML too.

R
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to