[CMake] optimized/debug libs on Unix

Brad King brad.king at kitware.com
Thu Aug 11 13:03:00 EDT 2005


Clinton Stimpson wrote:
> If I do a TARGET_LINK_LIBRARIES with this
> 
>  optimized ${LIBA} debug ${LIBA_DEBUG}
> 
> on Unix, which library will it use if the CMAKE_BUILD_TYPE is empty?
> It seems that it is not picking up either one.

You are correct: it does not pick either one, which is probably a bug. 
Please report it here:

http://www.cmake.org/Bug

-Brad


More information about the CMake mailing list