Christian Ehrlicher wrote:

We use this approach
FIND_LIBRARY(kdewin32  KDEWIN32LIB)
FIND_LIBRARY(kdwin32_d KDEWIN32LIB_D)
if(KDEWIN32LIB and KDEWIN32LIB_D)
  set(KDEWIN32_LIBRARY optimized ... debug ...)
 ... checking all three possibilities

target_link_libraries(foo KDEWIN32_LIBRARY)

But I think I can put this into one macro which needs to be used all over kde.
OK, that looks good. So, what is the feature you want, and how would it be used in this case?

-Bill

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

Reply via email to