diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2020-03-07 07:50:30 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2020-03-07 07:50:30 +0100 |
commit | adb5f89b018da33ee7e3aa8a48e5b742129da161 (patch) | |
tree | 7c4ac3954cfe33aa1428f6bb9a16fc18da3348e3 /tracker-hydra/CMakeLists.txt | |
parent | eb2752871e7bfbddab36d7641da6660798072f12 (diff) |
cmake: make install prefix path variables more clear
Pointed out by: @rvt
Diffstat (limited to 'tracker-hydra/CMakeLists.txt')
-rw-r--r-- | tracker-hydra/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tracker-hydra/CMakeLists.txt b/tracker-hydra/CMakeLists.txt index b99c1d7a..48471765 100644 --- a/tracker-hydra/CMakeLists.txt +++ b/tracker-hydra/CMakeLists.txt @@ -22,7 +22,7 @@ if(SDK_HYDRA AND opentrack-intel) endif() set(lib "${SDK_HYDRA}/${dir}/${part}/release_dll/sixense${six4}.${ext}") set(dll "${SDK_HYDRA}/bin/${part}/release_dll/sixense${six4}.dll") - install(FILES "${dll}" DESTINATION ${opentrack-hier-pfx} PERMISSIONS ${opentrack-perms-exec}) + install(FILES "${dll}" DESTINATION ${opentrack-libexec} PERMISSIONS ${opentrack-perms-exec}) target_link_libraries(opentrack-tracker-hydra "${lib}") else() if(APPLE) @@ -31,13 +31,13 @@ if(SDK_HYDRA AND opentrack-intel) set(soext "dylib") set(plat "osx") else() # assume Linux - set(dest "${opentrack-hier-pfx}") + set(dest "${opentrack-libexec}") set(part "release") set(soext "so") set(plat "linux") endif() set(lib "libsixense${six4}.${soext}") target_link_libraries(opentrack-tracker-hydra "${SDK_HYDRA}/lib/${plat}${six4}/${part}/${lib}") - install(FILES "${SDK_HYDRA}/lib/${plat}${six4}/${part}/${lib}" DESTINATION ${opentrack-hier-pfx} PERMISSIONS ${opentrack-perms-exec}) + install(FILES "${SDK_HYDRA}/lib/${plat}${six4}/${part}/${lib}" DESTINATION ${opentrack-libexec} PERMISSIONS ${opentrack-perms-exec}) endif() endif() |