Skip to content
Snippets Groups Projects

[Fix] rights in CMakeLists.txt for reconfiguration when executable is there

Merged Christopher Ruwisch requested to merge fix/lifting_line_download into develop
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -35,9 +35,9 @@ if(NOT EXISTS ${OUTPUT_FILE})
# Update file rights on none windows systems
if(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
message(STATUS "Changing file rights to --xr--r--")
message(STATUS "Changing file rights to r-xr--r--")
file(CHMOD ${OUTPUT_FILE}
FILE_PERMISSIONS OWNER_EXECUTE GROUP_READ WORLD_READ)
FILE_PERMISSIONS OWNER_EXECUTE OWNER_READ GROUP_READ WORLD_READ)
endif()
else()
message(FATAL_ERROR "Download failed with message: ${STATUS_MESSAGE}")
Loading