build: Remove unsupported flag NO_SOURCE_PERMISSIONS

This commit is contained in:
Gabriel Ferreira
2021-12-14 17:15:59 +00:00
parent 73fd4b87a4
commit a21a8fb7ab

View File

@@ -1086,7 +1086,7 @@ function(copy_headers_before_building_lib libname outputdir headers visibility)
foreach(header ${headers})
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/${header} ${outputdir}/${header_name}
NO_SOURCE_PERMISSIONS COPYONLY
COPYONLY
)
endforeach()
endfunction(copy_headers_before_building_lib)