Add header file installation

This commit is contained in:
William Brawner 2019-12-31 13:07:47 -06:00
parent b88fba9644
commit 06e2ee364d

View file

@ -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")