From 9e393324302003b29a35cb5ae1ecb64a897d5ee5 Mon Sep 17 00:00:00 2001 From: Christopher Albert Date: Wed, 25 Dec 2024 01:25:35 +0100 Subject: [PATCH] Installation --- CMakeSources.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CMakeSources.in b/CMakeSources.in index 850a321..e277c12 100644 --- a/CMakeSources.in +++ b/CMakeSources.in @@ -130,3 +130,12 @@ target_include_directories(coil_convert.x PUBLIC ${hdf5_tools_include_dir} ${FFT add_library(LIBNEO::magfie ALIAS magfie) add_library(LIBNEO::neo ALIAS neo) + +install(TARGETS neo magfie mc_efit + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib + RUNTIME DESTINATION bin + INCLUDES DESTINATION include +) + +install(DIRECTORY include/ DESTINATION include FILES_MATCHING PATTERN "*.mod")