Add header file installation
This commit is contained in:
parent
b88fba9644
commit
06e2ee364d
1 changed files with 4 additions and 1 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue