Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add more CMake library enabled messages.

  • Loading branch information...
commit 740142a28f72c5179fbc76ef3b230307711aa3a2 1 parent b6b4660
@stevenlovegrove authored
Showing with 10 additions and 5 deletions.
  1. +10 −5 src/CMakeLists.txt
View
15 src/CMakeLists.txt
@@ -83,11 +83,11 @@ endif()
if(BUILD_PANGOLIN_GUI)
if(NOT ANDROID)
find_package(OpenGL REQUIRED QUIET)
- find_package(GLEW REQUIRED)
+ find_package(GLEW REQUIRED QUIET)
list(APPEND USER_INC "${OPENGL_INCLUDE_DIR};${GLEW_INCLUDE_DIR}" )
list(APPEND LINK_LIBS "${OPENGL_LIBRARIES};${GLEW_LIBRARY}" )
else()
- find_package(GLUES REQUIRED)
+ find_package(GLUES REQUIRED QUIET)
list(APPEND USER_INC "${GLUES_INCLUDE_DIR};" )
list(APPEND LINK_LIBS "${GLUES_LIBRARY}" )
list(APPEND LINK_LIBS "-lEGL;-lGLESv2;-lGLESv1_CM" )
@@ -96,16 +96,17 @@ endif()
#######################################################
## Find optional dependencies
+
find_package(CVARS 2.3 QUIET)
if(CVARS_FOUND)
set(HAVE_CVARS 1)
list(APPEND USER_INC ${CVARS_INCLUDE_DIR} )
list(APPEND LINK_LIBS ${CVARS_LIBRARIES} )
+ message(STATUS "CVARS Found and Enabled")
endif()
## Don't even try to find these things on android
if(NOT ANDROID)
-
find_package(CUDA QUIET)
if(CUDA_FOUND)
set(HAVE_CUDA 1)
@@ -116,8 +117,8 @@ if(NOT ANDROID)
message(STATUS "CUDA Found and Enabled")
endif()
- find_package(FREEGLUT)
- find_package(GLUT)
+ find_package(FREEGLUT QUIET)
+ find_package(GLUT QUIET)
if(_OSX_)
INCLUDE(CheckCXXSourceRuns)
@@ -190,6 +191,7 @@ if(BUILD_PANGOLIN_VIDEO AND _LINUX_)
set(HAVE_V4L 1)
list(APPEND HEADERS ${INCDIR}/video/v4l.h)
list(APPEND SOURCES video/v4l.cpp)
+ message(STATUS "V4L Found and Enabled")
endif()
find_package(FFMPEG QUIET)
@@ -227,6 +229,7 @@ if(PNG_FOUND)
set(HAVE_PNG 1)
list(APPEND INTERNAL_INC ${PNG_INCLUDE_DIR} )
list(APPEND LINK_LIBS ${PNG_LIBRARY} )
+ message(STATUS "libpng Found and Enabled")
endif()
find_package(JPEG QUIET)
@@ -234,6 +237,7 @@ if(JPEG_FOUND)
set(HAVE_JPEG 1)
list(APPEND INTERNAL_INC ${JPEG_INCLUDE_DIR} )
list(APPEND LINK_LIBS ${JPEG_LIBRARY} )
+ message(STATUS "libjpeg Found and Enabled")
endif()
find_package(TIFF QUIET)
@@ -241,6 +245,7 @@ if(TIFF_FOUND)
set(HAVE_TIFF 1)
list(APPEND INTERNAL_INC ${TIFF_INCLUDE_DIR} )
list(APPEND LINK_LIBS ${TIFF_LIBRARY} )
+ message(STATUS "libtiff Found and Enabled")
endif()
Please sign in to comment.
Something went wrong with that request. Please try again.