From 76a1e2895d6e66b2d6e89f10d0ed6c2a3a217c5d Mon Sep 17 00:00:00 2001 From: Christian Haettich Date: Sun, 25 Jun 2017 22:09:34 +0200 Subject: [PATCH] Adds install command to cmake config --- libsgp4/CMakeLists.txt | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/libsgp4/CMakeLists.txt b/libsgp4/CMakeLists.txt index a58a7c3..f306933 100644 --- a/libsgp4/CMakeLists.txt +++ b/libsgp4/CMakeLists.txt @@ -16,4 +16,26 @@ set(SRCS Util.cpp Vector.cpp) -add_library(sgp4 STATIC ${SRCS}) + set(INCS + CoordGeodetic.h + CoordTopocentric.h + DateTime.h + DecayedException.h + Eci.h + Globals.h + Observer.h + OrbitalElements.h + SatelliteException.h + SGP4.h + SolarPosition.h + TimeSpan.h + TleException.h + Tle.h + Util.h + Vector.h + ) + +add_library(sgp4 STATIC ${SRCS} ${INCS}) +add_library(sgp4s SHARED ${SRCS} ${INCS}) +install( TARGETS sgp4s LIBRARY DESTINATION lib ) +install( FILES ${INCS} DESTINATION include/SGP4 )