install(DIRECTORY...) cmake error
Hi,
When using "make install" or "sudo make install" on my project, I get an error : "CMake Error at cmake_install.cmake:50 (file): file INSTALL cannot set permissions on "~/stocks_news/stocks"
The 50th line of cmake_install.cmake seems to contain the good "file" command, with the good permissions.
But, the directory is created empty, without any copied file.
CMakeLists.txt exerpt: install(DIRECTORY ${CMAKE_SOURCE_DIR}/stocks DESTINATION ~/stocks_news USE_SOURCE_PERMISSIONS CONFIGURATIONS Release)
Using FILE PERMISSION or DIRECTORY PERMISSIONS does not change anything.
Best regards. lulu731