[CMake] Feature request: force static libs in find_library()
jed at 59A2.org
Thu Nov 6 06:28:02 EST 2008
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the CMake