Hi list, I'm looking for a way to say to find_library (cmake 2.6.0) that I prefer static libraries rather than shared libraries. It seems that there is no option to do. The only work around I found is the following but it is not portable obviously.
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a;.so") find_library(OPENSSL_LIBRARY ssl) If someone has a better solution, please fill free to tell me. Thx in advance, -- Nicolas Desprès _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake