2023-08-08 02:08:38 +00:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
|
|
index 693dc6b..2d4d7d8 100644
|
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
|
|
|
@@ -90,7 +90,17 @@ else()
|
|
|
|
endif()
|
2023-01-12 19:32:01 +00:00
|
|
|
endif()
|
|
|
|
|
2023-08-08 02:08:38 +00:00
|
|
|
-install(TARGETS libblisp libblisp_static DESTINATION lib)
|
2022-12-31 04:56:06 +00:00
|
|
|
+include(GNUInstallDirs)
|
2023-08-08 02:08:38 +00:00
|
|
|
+install(TARGETS libblisp libblisp_static
|
|
|
|
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
|
|
|
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
|
|
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
|
|
+ PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
2022-12-31 04:56:06 +00:00
|
|
|
+)
|
|
|
|
+
|
2023-08-08 02:08:38 +00:00
|
|
|
+install(FILES ${BLISP_PUBLIC_HEADERS}
|
|
|
|
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
2022-12-31 04:56:06 +00:00
|
|
|
+)
|
|
|
|
|
2023-08-08 02:08:38 +00:00
|
|
|
if(BLISP_BUILD_CLI)
|
|
|
|
add_subdirectory(tools/blisp)
|
|
|
|
@@ -99,4 +109,4 @@ endif()
|
2022-12-31 04:56:06 +00:00
|
|
|
|
2023-08-08 02:08:38 +00:00
|
|
|
if(COMPILE_TESTS)
|
|
|
|
add_subdirectory(tools/blisp/src/cmd/dfu/tests)
|
|
|
|
-endif(COMPILE_TESTS)
|
2022-12-31 04:56:06 +00:00
|
|
|
\ No newline at end of file
|
2023-08-08 02:08:38 +00:00
|
|
|
+endif(COMPILE_TESTS)
|