From cbe565160d4d540d8c0cc611ecc8c752f122ca7b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik <sthalik@misaki.pl> Date: Wed, 6 Jul 2016 14:00:47 +0200 Subject: proto-wine, x-plane-plugin: fix install prefix --- x-plane-plugin/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'x-plane-plugin') diff --git a/x-plane-plugin/CMakeLists.txt b/x-plane-plugin/CMakeLists.txt index 616f0d54..63fdb399 100644 --- a/x-plane-plugin/CMakeLists.txt +++ b/x-plane-plugin/CMakeLists.txt @@ -1,6 +1,7 @@ -opentrack_boilerplate(opentrack-xplane-plugin NO-LIBRARY) if(LINUX OR APPLE) + opentrack_boilerplate(opentrack-xplane-plugin NO-LIBRARY) + include(opentrack-hier) set(SDK_XPLANE "" CACHE PATH "Path to X-Plane SDK") if(SDK_XPLANE) # probably librt already included @@ -25,6 +26,6 @@ if(LINUX OR APPLE) if(UNIX AND NOT APPLE) target_link_libraries(opentrack-xplane-plugin rt) endif() - install(TARGETS opentrack-xplane-plugin RUNTIME DESTINATION . LIBRARY DESTINATION . ) + install(TARGETS opentrack-xplane-plugin RUNTIME DESTINATION ${opentrack-hier-pfx} LIBRARY DESTINATION ${opentrack-hier-pfx} ) endif() endif() -- cgit v1.2.3