Skip to content

Commit

Permalink
fixed not compiling when QT is noct present
Browse files Browse the repository at this point in the history
  • Loading branch information
jkriege2 committed May 21, 2024
1 parent 75efbdb commit 2768c24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if(NOT DEFINED TinyMAT_OPENCV_SUPPORT)
option(TinyMAT_OPENCV_SUPPORT "Build with Support for OpenCV" ${OpenCV_FOUND})
endif()
if(NOT DEFINED TinyMAT_QT5_SUPPORT)
find_package(Qt5 COMPONENTS Core REQUIRED)
find_package(Qt5 COMPONENTS Core)
option(TinyMAT_QT5_SUPPORT "Build with Support for Qt5" ${Qt5_FOUND})
endif()
if(NOT DEFINED TinyMAT_BUILD_SHARED_LIBS)
Expand Down Expand Up @@ -86,7 +86,7 @@ if (TinyMAT_QT5_SUPPORT)
endif()
if (TinyMAT_OPENCV_SUPPORT)
# check for Qt
find_package(OpenCV)
find_package(OpenCV REQUIRED)
if (${OpenCV_FOUND})
message(NOTICE "compiling ${PROJECT_NAME} width OpenCV-support")
else()
Expand Down

0 comments on commit 2768c24

Please sign in to comment.