Passing a list to a CMake macro

Quote the variable as you pass it to the macro:

FindLibs("${LIBRARY_NAMES_LIST}")

Leave a Comment