Add Qt Libs to CMake

This commit is contained in:
Grant Terris
2019-09-14 16:03:45 -07:00
parent 8c7d4c0b43
commit 1da6d9de31

View File

@@ -5,10 +5,12 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
find_package( OpenCV REQUIRED )
find_package( Ebus REQUIRED )
find_package( Qt5 COMPONENTS Widgets REQUIRED )
include_directories(
${OpenCV_INCLUDE_DIRS}
${Ebus_INCLUDE_DIRS}
${Qt5Widgets_INCLUDE_DIRS}
)
add_executable( FaultFinder
@@ -21,4 +23,5 @@ add_executable( FaultFinder
target_link_libraries( FaultFinder
${OpenCV_LIBS}
${Ebus_LIBRARIES}
${Qt5Widgets_LIBRARIES}
)