Add a flag to make find_library() only resolve to static libs and a global switch to force this for all find_library() calls.
If I want to build a static executable on a system with both shared and static libraries, my current solution is to run sed -i 's/\.so\>/.a/g' CMakeCache.txt but this is obviously a hack. My usage case is building an executable to be run on a cluster where all the shared libs are not available on all the nodes. Jed
pgpfeLiFLdLna.pgp
Description: PGP signature
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
