Hi, Here is my problem. Having a string like "-L/mydir/lib -lfoo -lbar", is there a 'nice' automated way to turn it into a proper list of libraries like "/mydir/lib/libfoo.dylib;/mydir/lib/libbar.dylib"?
Or, is there a way for cmake to make this magic happen when I pass the above string to target_link_libraries()? E.g. target_link_libraries(app "-L/mydir/lib -lfoo -lbar") turning to full path while linking. I know that I could come up with regex and do the magic myself like it is the case in the FindMPI.cmake module, but this looks to me like a standard procedure that maybe there is a better way then copying almost 100 lines in every package file. Thanks a lot, Michele
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake