diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-09-06 08:30:28 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-09-06 08:30:28 +0200 |
commit | 12ff17463610e446fc6569ee1f4479be9107e38e (patch) | |
tree | 5a64a98276d5a329cb789f7e780d9ee06aebddf0 /cmake/opentrack-boilerplate.cmake | |
parent | f17f1a5910987654f64bdf2209ea2a8ad96f7e1e (diff) |
Revert "cmake: cleanup install prefix handling"
Fixes proto/freetrack
Issue: #983
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r-- | cmake/opentrack-boilerplate.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake index 39d75e5a..ffa4ea02 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -18,10 +18,10 @@ set(new-hier-path "#pragma once #endif #define OPENTRACK_LIBRARY_PREFIX \"\" -#define OPENTRACK_LIBRARY_PATH \"/${opentrack-hier-path}/\" -#define OPENTRACK_DOC_PATH \"${opentrack-hier-doc}/\" +#define OPENTRACK_LIBRARY_PATH \"${opentrack-hier-path}\" +#define OPENTRACK_DOC_PATH \"${opentrack-hier-doc}\" #define OPENTRACK_CONTRIB_PATH \"${opentrack-hier-doc}contrib/\" -#define OPENTRACK_I18N_PATH \"${opentrack-hier-root}/${opentrack-i18n-pfx}\" +#define OPENTRACK_I18N_PATH \"${opentrack-i18n-path}\" ") function(otr_write_library_paths) @@ -282,7 +282,7 @@ function(otr_install_lib target dest) set(pdb-path "") otr_pdb_for_dll(pdb-path "${path}") if(pdb-path) - install(FILES "${pdb-path}" DESTINATION "${opentrack-hier-debug}" PERMISSIONS ${opentrack-perms-file}) + install(FILES "${pdb-path}" DESTINATION "${opentrack-hier-debug}" PERMISSIONS ${opentrack-perms-exec}) endif() endif() install(FILES "${path}" DESTINATION "${dest}" PERMISSIONS ${opentrack-perms-exec}) |