From ccb7f5167a07d5a886722f7d64d0f2b550a7a5a0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 19 Jul 2016 05:44:02 +0200 Subject: cmake: install source code as well --- x-plane-plugin/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'x-plane-plugin') 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) -- cgit v1.2.3