I can install one specific file. When using wildcard in the same command, it complain the file does not exist.
This is the one that works
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libproduction_rdict.pcm DESTINATION ${LIBRARY_OUTPUT_PATH})
This is the one not working
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/*_rdict.pcm DESTINATION ${LIBRARY_OUTPUT_PATH})
The error message is:
-- Install configuration: ""
CMake Error at Source/cmake_install.cmake:49 (file):
file INSTALL cannot find
"/home/wxie/AI/CUDA/cuda_exmaple/example_2/Build/Source/*_rdict.pcm".
Call Stack (most recent call first):
cmake_install.cmake:42 (include)