Karl Merkley wrote: > > I'm linking an app with the python library and I have a requirement to > link with the shared library not the static library. It appears that > FindPythonLibs has no way of specifying shared vs. static. The shared > lib actually is installed in /usr/lib. The static lib resides in > /usr/lib/python2.4/config (which is where FindPythonLibs goes looking > for it). Any ideas on how to resolve this issue so that automatic > builds don't have to have a tweak to the CMakeCache.txt? >
Hi Karl, here is the patch ;) > Karl > -- andreas -- http://www.cynapses.org/ - cybernetic synapses
--- Modules/FindPythonLibs.cmake +++ Modules/FindPythonLibs.cmake @@ -62,9 +62,6 @@ python2.0/config python1.6/config python1.5/config - - # Avoid finding the .dll in the PATH. We want the .lib. - NO_SYSTEM_ENVIRONMENT_PATH ) # Search for the python framework on Apple.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake