Skip to content

Commit

Permalink
Add Milk dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehpor committed Nov 12, 2024
1 parent 34be5c4 commit ae80cfb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions catkit_core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ find_package(Protobuf REQUIRED)
target_include_directories(catkit_core PUBLIC ${PROTOBUF_INCLUDE_DIR})
target_link_libraries(catkit_core PUBLIC ${PROTOBUF_LIBRARY})

# Optionally link Milk
if(USE_MILK)
target_include_directories(catkit_core ${MILK_INSTALLDIR}/include)
target_link_directories(catkit_core ${MILK_INSTALLDIR}/lib)
target_link_libraries(catkit_core PUBLIC ImageStreamIO)
endif(USE_MILK)

# Add install files
install(TARGETS catkit_core DESTINATION lib)
install(DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
Expand Down

0 comments on commit ae80cfb

Please sign in to comment.