On Wed, Jun 24, 2009 at 07:19:18PM -0500, Nathan Paul wrote:
> Doesn't target_link_libraries only allow you to change the library used for
> the configuration, not set the library path. 

Yes.

> Sure I could prepend the correct path to the library, but it still
> doesn't change the library path.

I'm not aware of another way to do this that will work generators that
don't use CMAKE_BUILD_TYPE (like Visual Studio). If you only need to
support makefiles, you could do:

link_directories (/some/path/including/${CMAKE_BUILD_TYPE})

tyler
_______________________________________________
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