Hi,

I am linking against a library that I have as a static and shared library with the same name (foo.a and foo.so). When I build my project with BUILD_SHARED_LIBS on, I want it to look for foo.so and when I build static libs, I want it to link against foo.a. But it seems to always want to build against the .so unless I specify it directly using the variable used in the FIND_LIBRARY command. Is there a flag I can set to tell it to look for static libraries first? Thanks.

  -darby j

--
Darby J Van Uitert
SCI Institute
University of Utah
Email: [EMAIL PROTECTED]
Phone: (301) 528-8469


_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to