|
|
|
|
|
|
|
|
|
|
|
find_package( OpenCV REQUIRED ) |
|
|
|
|
|
include_directories( ${OpenCV_INCLUDE_DIRS} ) |
|
|
|
|
|
|
|
|
add_library(Utils utils.cpp) |
|
|
add_library(Utils utils.cpp) |
|
|
set_target_properties(Utils PROPERTIES VERSION ${PROJECT_VERSION}) |
|
|
set_target_properties(Utils PROPERTIES VERSION ${PROJECT_VERSION}) |
|
|
target_include_directories(Utils PRIVATE .) |
|
|
target_include_directories(Utils PRIVATE .) |
|
|
|
|
|
|
|
|
|
|
|
target_link_libraries( Utils ${OpenCV_LIBS} ) |
|
|
|
|
|
|
|
|
set(CPACK_PROJECT_NAME ${PROJECT_NAME}) |
|
|
set(CPACK_PROJECT_NAME ${PROJECT_NAME}) |
|
|
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) |
|
|
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) |
|
|
include(CPack) |
|
|
include(CPack) |