On 17.05.09 22:42:51, Robert Dailey wrote: > I'm creating a find_package module for the TBB library, and it has 2 libs: > tbb.lib and tbbmalloc.lib. Both of these are part of TBB, and in my > TBB_LIBRARIES variable I want to return both of them. However, I can only > search for one of them at a time using find_library(). Is there a way to > make it search for more than one at once and store the results as a list in > <var>?
AFAIK, no. The usual way to do this is simply using find_library( TBB_LIBRARY tbb ) and additionally find_library( TBBMALLOC_LIBRARY tbbmalloc) and then produce the _LIBRARIES variable by putting the two together. Andreas -- You are not dead yet. But watch for further reports. _______________________________________________ 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