diff --git a/CMakeLists.txt b/CMakeLists.txt index 9955d80..a2f96ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,7 @@ cmake_minimum_required (VERSION 3.15.5) +include(GNUInstallDirs) + set(PIHELPER_VERSION 0.1.0) project( @@ -11,4 +13,5 @@ add_subdirectory(PiHelper) install(TARGETS pihelper libpihelper) -#target_link_libraries(PiHelper SHARED cJSON) +install(FILES PiHelper/pihelper.h DESTINATION "${CMAKE_INSTALL_FULL_INCLUDEDIR}/pihelper") +