Skip to content

Commit 773bbce

Browse files
authored
Merge pull request #18 from howetuft/work
oidnDenoise: set permissions
2 parents 905ab67 + a1aee81 commit 773bbce

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

CMakeLists.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,14 @@ add_executable(oidn-denoise IMPORTED)
138138
set_property(TARGET oidn-denoise PROPERTY IMPORTED_LOCATION "${LUX_OIDN_DENOISE_PATH}")
139139

140140
INSTALL(TARGETS pyluxcore DESTINATION pyluxcore)
141-
INSTALL(IMPORTED_RUNTIME_ARTIFACTS oidn-denoise DESTINATION pyluxcore)
141+
INSTALL(
142+
IMPORTED_RUNTIME_ARTIFACTS oidn-denoise
143+
DESTINATION pyluxcore
144+
PERMISSIONS
145+
OWNER_WRITE OWNER_READ OWNER_EXECUTE
146+
GROUP_READ GROUP_EXECUTE
147+
WORLD_READ WORLD_EXECUTE
148+
)
142149
if(WIN32)
143150
# Delvewheel doesn't handle executables, however we need to delocate oidnDenoise.
144151
# Therefore we have to let Delvewheel believe oidnDenoise is a lib...

0 commit comments

Comments
 (0)