set(uiElements_source_files
    uiElements.cpp
    uiElements.hpp
)
MESSAGE(STATUS "building uiElements")
add_library(uiElements ${uiElements_source_files})

SET("OpenCV_DIR" "/usr/local/lib/")

find_package( OpenCV REQUIRED )

MESSAGE(STATUS "Include dirs ${OpenCV_INCLUDE_DIRS}")
MESSAGE(STATUS "LINK LIBRARIES ${OpenCV_LIBS}")

target_link_libraries(uiElements OpenCV)
MESSAGE(STATUS "Done building uiElements")