Passing a list to a CMake macro March 29, 2023 by Tarik Quote the variable as you pass it to the macro: FindLibs("${LIBRARY_NAMES_LIST}")