I am trying to copy all libboost* stuff from /usr/lib to CMAKE_INSTALL_PREFIX just as most users would guess:
INSTALL(DIRECTORY ${BOOST_RUNTIME_DIR}/ DESTINATION ${CMAKE_INSTALL_PREFIX}/bin FILES_MATCHING .......) Whatever I specify for matching I always get half of my system copied instead of the requested files. E.g. PATTERN "libboost*.so" does absolutely nothing and REGEX "libboost.*\.so.*$" complains about the slash, when removed does nothing either. As a result all content is always copied. Interestingly and confusingly, the same thing (only used PATTERN) works for e.g. "*.h". What is special here? Are there any examples how to use this functionality? Both the documentation and the FAQ are not very comprehensive in this matter. Thanks and regards, Dominik _______________________________________________ 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