install(FILES CMakeLists.txt DESTINATION foo) set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_LIST_DIR}/Example.txt")