On 05/12/2016 09:34 AM, Rolf Eike Beer wrote:
> find_library(${_prefix}-${CMAKE_MATCH_1}
> NAMES ${CMAKE_MATCH_1}
> ${_find_opts})
> list(APPEND _libs "${${_prefix}-${CMAKE_MATCH_1}}")
Generally I try to store the CMAKE_MATCH_ values in other variables
as soon as possible and then use those other variables. Otherwise
refactoring may cause their values to change and break existing logic.
Thanks,
-Brad
--
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-developers