From adb5f89b018da33ee7e3aa8a48e5b742129da161 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 7 Mar 2020 07:50:30 +0100 Subject: cmake: make install prefix path variables more clear Pointed out by: @rvt --- video-ps3eye/CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'video-ps3eye') 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() -- cgit v1.2.3