Skip to content

Commit 87fde29

Browse files
committed
api: Include jsoncpp headers with install
These are required by api.h Signed-off-by: Andy Doan <[email protected]>
1 parent 5e2f6da commit 87fde29

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ target_link_libraries(${TARGET_EXE} ${TARGET})
7575
install(TARGETS ${TARGET_EXE} RUNTIME DESTINATION bin COMPONENT ${TARGET_EXE})
7676
install(TARGETS ${TARGET_LIB} LIBRARY DESTINATION lib COMPONENT ${TARGET_LIB})
7777
install(DIRECTORY ../include/aktualizr-lite DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
78+
install(DIRECTORY ../aktualizr/third_party/jsoncpp/include/json DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
7879

7980
# enable creating clang-tidy targets for each source file (see aktualizr/CMakeLists.txt for details)
8081
aktualizr_source_file_checks(main.cc api.cc ../include/aktualizr-lite/api.h ${SRC} ${HEADERS})

0 commit comments

Comments
 (0)