2022-11-17 08:47:48 +01:00
|
|
|
find_package( OpenCV REQUIRED )
|
|
|
|
include_directories( ${OpenCV_INCLUDE_DIRS} )
|
|
|
|
|
2022-11-10 16:45:34 +01:00
|
|
|
add_library(Utils utils.cpp)
|
|
|
|
set_target_properties(Utils PROPERTIES VERSION ${PROJECT_VERSION})
|
|
|
|
target_include_directories(Utils PRIVATE .)
|
|
|
|
|
2022-11-17 08:47:48 +01:00
|
|
|
target_link_libraries( Utils ${OpenCV_LIBS} )
|
|
|
|
|
2022-11-10 16:45:34 +01:00
|
|
|
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
|
|
|
|
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
|
|
|
|
include(CPack)
|