summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-06-15 07:40:26 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-06-15 07:40:26 +0200
commit14ca2dd62ae8f065929e9aa536ac361b1265692a (patch)
tree64452cc545d6fdd3f5c45640b5b3d5edd638ee59 /CMakeLists.txt
parent524760a5248760307e99b396e2d4c9f7e4f74563 (diff)
cmake: adjust vjoy.dll/sixense.dll permissions to avoid EACCES on loading on win32
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7bbdb26c..4413f712 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -370,7 +370,7 @@ if(SDK_HYDRA)
)
install(FILES "${SDK_HYDRA}/bin/win32/release_dll/sixense.dll"
#"${SDK_HYDRA}/bin/win32/release_dll/sixense_utils.dll"
- DESTINATION .)
+ DESTINATION . PERMISSIONS WORLD_READ WORLD_EXECUTE OWNER_WRITE OWNER_READ OWNER_EXECUTE)
else()
if(SDK_HYDRA_AMD64)
set(underscore-sixtyfour _x64)
@@ -481,7 +481,7 @@ endif()
install(TARGETS opentrack DESTINATION .)
if(SDK_VJOY)
- install(FILES "${SDK_VJOY}/VJoy.dll" DESTINATION .)
+ install(FILES "${SDK_VJOY}/VJoy.dll" DESTINATION . PERMISSIONS WORLD_READ WORLD_EXECUTE OWNER_WRITE OWNER_READ OWNER_EXECUTE)
endif()
if(WIN32)