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 /video-ps3eye/CMakeLists.txt | |
parent | eb2752871e7bfbddab36d7641da6660798072f12 (diff) |
cmake: make install prefix path variables more clear
Pointed out by: @rvt
Diffstat (limited to 'video-ps3eye/CMakeLists.txt')
-rw-r--r-- | video-ps3eye/CMakeLists.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/video-ps3eye/CMakeLists.txt b/video-ps3eye/CMakeLists.txt index 888c4fc7..5f81b3fb 100644 --- a/video-ps3eye/CMakeLists.txt +++ b/video-ps3eye/CMakeLists.txt @@ -22,13 +22,13 @@ if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/ps3eye-driver/CMakeLists.txt") endif() if(TARGET ps3eye-sdl) - install(TARGETS "ps3eye-sdl" DESTINATION "${opentrack-hier-pfx}") + install(TARGETS "ps3eye-sdl" DESTINATION "${opentrack-libexec}") if(WIN32) foreach(k ${SDL2_LIBRARIES}) get_filename_component(path "${k}" PATH) set(lib "${path}/SDL2.dll") if(EXISTS "${lib}") - otr_install_lib("${lib}" "${opentrack-hier-pfx}") + otr_install_lib("${lib}" "${opentrack-libexec}") break() endif() endforeach() @@ -36,7 +36,7 @@ if(TARGET ps3eye-sdl) endif() if(TARGET ps3eye-mode-test) - install(TARGETS "ps3eye-mode-test" DESTINATION "${opentrack-hier-pfx}") + install(TARGETS "ps3eye-mode-test" DESTINATION "${opentrack-libexec}") endif() if(TARGET ps3eye-driver) @@ -44,7 +44,7 @@ if(TARGET ps3eye-driver) if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux") target_link_libraries(ps3eye-subprocess rt ps3eye-driver) endif() - install(TARGETS "ps3eye-subprocess" DESTINATION "${opentrack-hier-pfx}") + install(TARGETS "ps3eye-subprocess" DESTINATION "${opentrack-libexec}") endif() if(TARGET ps3eye-subprocess) @@ -53,11 +53,11 @@ if(TARGET ps3eye-subprocess) if(WIN32) set(path "${SDK_LIBUSB}/libusb-1.0.dll") if(EXISTS "${path}") - otr_install_lib("${path}" "${opentrack-hier-pfx}") + otr_install_lib("${path}" "${opentrack-libexec}") endif() endif() endif() if(TARGET ps3eye-frame-test) - install(TARGETS "ps3eye-frame-test" DESTINATION "${opentrack-hier-pfx}") + install(TARGETS "ps3eye-frame-test" DESTINATION "${opentrack-libexec}") endif() |