I have an executable that links with HDF5 (by the way, is there any plan to create a "FindHDF5.cmake" file?).
The problem is that I have two flavors of libraries:
        libhdf5_cpp.a           libhdf5.a
        libhdf5_cpp.dylib       libhdf5.dylib
When I do
  set( HDF5_LIBRARIES hdf5_cpp hdf5 )
it seems that CMake ends up choosing the *.dylib rather than the *.a versions. Is there a way to fix this so that I link statically?

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to