Quote the variable as you pass it to the macro:
FindLibs("${LIBRARY_NAMES_LIST}")
Related Contents:
- Creating a directory in CMake
- CMake link to external library
- CMake target_link_libraries Interface Dependencies
- Using CMake, how do I get verbose output from CTest?
- How is CMake used? [closed]
- What is the modern method for setting general compile flags in CMake?
- Function vs. Macro in CMake
- Set CFLAGS and CXXFLAGS options using CMake
- How to list all CMake build options and their default values?
- Cmake Error: could not load cache
- Display CMake variables without running CMake on a CMakeLists.txt file or manually inspecting config.cmake?
- How do I configure portable parallel builds in CMake?
- Are CMAKE_SOURCE_DIR and PROJECT_SOURCE_DIR the same in CMake?
- CMake support “make uninstall”?
- How do you rename a library filename in CMake?
- Passing an argument to CMAKE via command prompt
- cmake not working, could not exec qmake
- CMake add_custom_command not being run
- CMake: use a custom linker
- Creating symbol table for gdb using cmake
- What are CMAKE_BUILD_TYPE: Debug, Release, RelWithDebInfo and MinSizeRel?
- How to install your custom CMake-Find module
- Passing compiler options in CMake
- Passing compiler options in CMake command line
- How do I list the defined make targets from the command line?
- How to set linker flags for OpenMP in CMake’s try_compile function
- Ninja not found by CMake
- CMake – linking to library downloaded from ExternalProject_add()
- CMAKE add sub-directory which is not sub-directory on real directory
- Can one add further source files to an executable once defined?
- CMake missing modules directory
- CMake + GoogleTest
- Getting a CMake Error: Cannot specify link libraries for target which is not built by the project
- How do you concatenate string in cmake
- CMake… ccmake or cmake?
- How exactly does CMake work? Why are so many files generated?
- How to make colorized message() with CMake?
- For the cmake “include” command, what is the difference between a file and a module?
- Why add header files into the add_library/add_executable commands in CMake?
- How can I install a hierarchy of files using CMake?
- Why is cmake file GLOB evil?
- CMake: Convert relative path to absolute path, with build directory as current directory
- When should I rerun cmake?
- Autotools vs CMake for both Windows and Linux compilation
- How do I add a configuration variable to my CMake script?
- Difference between Cmake, gnu make and manually compiling
- Override option in CMake subproject
- What does –target option mean in CMake?
- How do I use CMake ExternalProject_Add or alternatives in a cross-platform way?
- CMake: In which order are files parsed (cache, toolchain, etc.)?