From 841ea75f37cdff599f49cbd5be993ccc1c88a044 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Thu, 23 Oct 2025 17:12:31 +0000 Subject: [PATCH] update git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@479 b9cfdab3-6d41-4d17-bbe4-086880011989 --- CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 07249a7..a248483 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -156,3 +156,15 @@ target_compile_definitions( if(BUILD_EXAMPLES) add_subdirectory(examples/basic) endif() + +include(GNUInstallDirs) +install( + TARGETS Mw + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} +) +install( + DIRECTORY ${CMAKE_SOURCE_DIR}/include/ + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} + FILES_MATCHING PATTERN "*.h" +)