diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-06-21 17:06:14 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-06-21 22:14:51 +0200 |
commit | 788590ec7357d968f1acafd7e4a2bba728c84a68 (patch) | |
tree | 086e43cb94b8ada86d8d9ed0fad44fa74766d2b6 /cmake | |
parent | a0135713be0c58422d63125bef41e795b948a8e9 (diff) |
cmake: simplify
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/opentrack-boilerplate.cmake | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake index c63aacdf..5a93b4e8 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -216,9 +216,7 @@ function(otr_module n_) endif() if(NOT arg_NO-INSTALL) - if(arg_BIN AND WIN32) - install(TARGETS "${n}" RUNTIME DESTINATION . PERMISSIONS ${opentrack-perms-exec}) - else() + if(arg_BIN) install(TARGETS "${n}" ${opentrack-hier-str} PERMISSIONS ${opentrack-perms-exec}) endif() if(MSVC) |