summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-install.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-04 15:07:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-04 15:20:45 +0200
commit4814ba425f708a39223959230c689314d9b306e2 (patch)
treeb7a4218425a1b69892fbc0e5029c2dfecea27072 /cmake/opentrack-install.cmake
parent6b9f1065b3912c0d92a5b3f32d3907180201303c (diff)
cmake: install cleye.config to modules dir also on win32
Diffstat (limited to 'cmake/opentrack-install.cmake')
-rw-r--r--cmake/opentrack-install.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmake/opentrack-install.cmake b/cmake/opentrack-install.cmake
index 1f96be26..e60b8a18 100644
--- a/cmake/opentrack-install.cmake
+++ b/cmake/opentrack-install.cmake
@@ -1,11 +1,12 @@
set(opentrack-perms PERMISSIONS WORLD_READ WORLD_EXECUTE OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE)
if(WIN32)
- install(FILES "${CMAKE_SOURCE_DIR}/bin/qt.conf" DESTINATION .)
+ install(FILES "${CMAKE_SOURCE_DIR}/bin/qt.conf" DESTINATION . ${opentrack-perms})
endif()
if(WIN32)
- install(FILES "${CMAKE_SOURCE_DIR}/bin/cleye.config" DESTINATION .)
+ install(FILES "${CMAKE_SOURCE_DIR}/bin/cleye.config" DESTINATION . ${opentrack-perms})
+ install(FILES "${CMAKE_SOURCE_DIR}/bin/cleye.config" DESTINATION ${opentrack-hier-pfx} ${opentrack-perms})
endif()
install(FILES ${CMAKE_SOURCE_DIR}/README.md DESTINATION ${opentrack-doc-pfx})