Link Processing to Utils
This commit is contained in:
parent
cef35f412e
commit
2c0bc0b35a
@ -1,11 +1,14 @@
|
|||||||
find_package( OpenCV REQUIRED )
|
find_package( OpenCV REQUIRED )
|
||||||
include_directories( ${OpenCV_INCLUDE_DIRS} )
|
include_directories( ${OpenCV_INCLUDE_DIRS} )
|
||||||
|
include_directories( ${Utils_SOURCE_DIRS})
|
||||||
|
|
||||||
|
link_directories(${Utils_SOURCE_DIRS})
|
||||||
|
|
||||||
add_library(Processing processing.cpp)
|
add_library(Processing processing.cpp)
|
||||||
set_target_properties(Processing PROPERTIES VERSION ${PROJECT_VERSION})
|
set_target_properties(Processing PROPERTIES VERSION ${PROJECT_VERSION})
|
||||||
target_include_directories(Processing PRIVATE .)
|
target_include_directories(Processing PRIVATE .)
|
||||||
|
|
||||||
target_link_libraries( Processing ${OpenCV_LIBS})
|
target_link_libraries( Processing ${OpenCV_LIBS} Utils)
|
||||||
|
|
||||||
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
|
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
|
||||||
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
|
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user