Skip to content

Commit

Permalink
Merge pull request #36 from uptane/install-fix
Browse files Browse the repository at this point in the history
Install libaktualizr headers correctly when included as a submodule.
  • Loading branch information
pattivacek authored Nov 4, 2021
2 parents 48ba984 + d795e14 commit fb5eec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libaktualizr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ add_library(aktualizr_lib SHARED
target_link_libraries(aktualizr_lib ${AKTUALIZR_EXTERNAL_LIBS})
set_target_properties(aktualizr_lib PROPERTIES LIBRARY_OUTPUT_NAME aktualizr)
install(TARGETS aktualizr_lib LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT aktualizr)
install(DIRECTORY ${CMAKE_SOURCE_DIR}/include/libaktualizr DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
install(DIRECTORY ${PROJECT_SOURCE_DIR}/include/libaktualizr DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/../../jsoncpp/json/json.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/libaktualizr/json)

configure_file(aktualizr.pc.in aktualizr.pc @ONLY)
Expand Down

0 comments on commit fb5eec7

Please sign in to comment.