Skip to content

Commit ef54d8f

Browse files
authored
warn if gui was not built due to not finding qt5 explicitly
Signed-off-by: Bernardo Borges Sandoval <[email protected]>
1 parent 93b6f40 commit ef54d8f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/gui/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,11 @@ messages(
8989
)
9090

9191
else()
92-
message(STATUS "GUI is not enabled")
92+
if(BUILD_GUI)
93+
message(STATUS "QT5 not found. GUI is disabled")
94+
else()
95+
message(STATUS "GUI is not enabled")
96+
endif()
9397
add_library(gui
9498
src/stub.cpp
9599
src/stub_heatMap.cpp

0 commit comments

Comments
 (0)