How to find python static libraries using find_package (pythonlibs 2) in CMake

I typed $ {PYTHON_LIBRARY}, this is [/usr/lib/i386-linux-gnu/libpython2.7.so]

but I really need [/usr/lib/i386-linux-gnu/libpython2.7.a]

I can't find options like [Boost_USE_STATIC_LIBS], so what can I do?

+3


source to share





All Articles