Skip to content

Commit 355bf13

Browse files
committed
Make QGLViewer compilation error more descriptive
1 parent ef727e8 commit 355bf13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

octovis/CMakeModules/FindQGLViewer.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ IF (NOT QGLViewer_FOUND)
104104
#FIND_LIBRARY(QGLViewer_LIBRARY_DIR_OTHER QGLViewer ${QGLVIEWER_BASE_DIR})
105105
FIND_PATH(QGLLIB libQGLViewer.so ${QGLVIEWER_BASE_DIR})
106106
IF (NOT QGLLIB)
107-
MESSAGE(STATUS "\nfailed to build libQGLViewer")
107+
MESSAGE(WARNING "Could not find libQGLViewer.so, failed to build?")
108108
SET( QGLViewer_FOUND 0 CACHE BOOL "Do we have QGLViewer?" FORCE )
109109
ELSE()
110110
MESSAGE(STATUS "Successfully built library in:\n${QGLLIB}")

0 commit comments

Comments
 (0)