Closed yurivict closed 3 years ago
The file should be created after configuration, I don't know what you're doing
This code
configure_file(
package/README.txt.in
../package/README.txt
)
creates README.txt above the current directory. This should never be done.
Then this code:
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/package/README.txt"
DESTINATION "${CMAKE_PROJECT_NAME}")
looks for it in the current directory and fails.