From 4814ba425f708a39223959230c689314d9b306e2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 4 Aug 2016 15:07:32 +0200 Subject: cmake: install cleye.config to modules dir also on win32 --- cmake/opentrack-install.cmake | 5 +++-- 1 file 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}) -- cgit v1.2.3