summaryrefslogtreecommitdiffhomepage
path: root/x-plane-plugin
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-07-19 05:44:02 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-07-19 07:17:25 +0200
commitccb7f5167a07d5a886722f7d64d0f2b550a7a5a0 (patch)
treec0994383b3c899c22a47b5d270c81111809b74bb /x-plane-plugin
parent8d2c70f000ca00c8ebc571467a383a03442282df (diff)
cmake: install source code as well
Diffstat (limited to 'x-plane-plugin')
-rw-r--r--x-plane-plugin/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/x-plane-plugin/CMakeLists.txt b/x-plane-plugin/CMakeLists.txt
index 21b6947b..616f60ee 100644
--- a/x-plane-plugin/CMakeLists.txt
+++ b/x-plane-plugin/CMakeLists.txt
@@ -5,6 +5,7 @@ if(LINUX OR APPLE)
if(SDK_XPLANE)
# probably librt already included
add_library(opentrack-xplane-plugin SHARED ${opentrack-xplane-plugin-c})
+ install(FILES ${opentrack-xplane-plugin-c} DESTINATION "${opentrack-doc-src-pfx}/opentrack-xplane-plugin")
target_include_directories(opentrack-xplane-plugin SYSTEM PUBLIC ${SDK_XPLANE}/CHeaders ${SDK_XPLANE}/CHeaders/XPLM)
set(vis "-fvisibility=hidden")
if(CMAKE_COMPILER_IS_GNUCXX AND NOT APPLE)