14 lines
432 B
CMake
Raw Normal View History

2022-10-30 20:01:47 +01:00
find_package( OpenCV REQUIRED )
2022-11-10 17:17:24 +01:00
include_directories( ${OpenCV_INCLUDE_DIRS} ${Utils_SOURCE_DIRS})
link_directories(${Utils_SOURCE_DIRS})
2022-10-30 20:01:47 +01:00
add_library(Input input.cpp)
set_target_properties(Input PROPERTIES VERSION ${PROJECT_VERSION})
target_include_directories(Input PRIVATE .)
2022-11-10 17:17:24 +01:00
target_link_libraries( Input ${OpenCV_LIBS} Utils)
2022-10-30 20:01:47 +01:00
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)