Do not output messages for disabled libraries.
This commit is contained in:
parent
63d29a508e
commit
87ca69bd14
@ -77,49 +77,49 @@ ENDIF(CUDA_FOUND)
|
||||
|
||||
# FreeImage
|
||||
#INCLUDE(${NV_CMAKE_DIR}/FindFreeImage.cmake)
|
||||
IF(FREEIMAGE_FOUND)
|
||||
SET(HAVE_FREEIMAGE ${FREEIMAGE_FOUND} CACHE BOOL "Set to TRUE if FreeImage is found, FALSE otherwise")
|
||||
MESSAGE(STATUS "Looking for FreeImage - found")
|
||||
ELSE(FREEIMAGE_FOUND)
|
||||
MESSAGE(STATUS "Looking for FreeImage - not found")
|
||||
ENDIF(FREEIMAGE_FOUND)
|
||||
#IF(FREEIMAGE_FOUND)
|
||||
# SET(HAVE_FREEIMAGE ${FREEIMAGE_FOUND} CACHE BOOL "Set to TRUE if FreeImage is found, FALSE otherwise")
|
||||
# MESSAGE(STATUS "Looking for FreeImage - found")
|
||||
#ELSE(FREEIMAGE_FOUND)
|
||||
# MESSAGE(STATUS "Looking for FreeImage - not found")
|
||||
#ENDIF(FREEIMAGE_FOUND)
|
||||
|
||||
# JPEG
|
||||
#INCLUDE(FindJPEG)
|
||||
IF(JPEG_FOUND)
|
||||
SET(HAVE_JPEG ${JPEG_FOUND} CACHE BOOL "Set to TRUE if JPEG is found, FALSE otherwise")
|
||||
MESSAGE(STATUS "Looking for JPEG - found")
|
||||
ELSE(JPEG_FOUND)
|
||||
MESSAGE(STATUS "Looking for JPEG - not found")
|
||||
ENDIF(JPEG_FOUND)
|
||||
#IF(JPEG_FOUND)
|
||||
# SET(HAVE_JPEG ${JPEG_FOUND} CACHE BOOL "Set to TRUE if JPEG is found, FALSE otherwise")
|
||||
# MESSAGE(STATUS "Looking for JPEG - found")
|
||||
#ELSE(JPEG_FOUND)
|
||||
# MESSAGE(STATUS "Looking for JPEG - not found")
|
||||
#ENDIF(JPEG_FOUND)
|
||||
|
||||
# PNG
|
||||
#INCLUDE(FindPNG)
|
||||
IF(PNG_FOUND)
|
||||
SET(HAVE_PNG ${PNG_FOUND} CACHE BOOL "Set to TRUE if PNG is found, FALSE otherwise")
|
||||
MESSAGE(STATUS "Looking for PNG - found")
|
||||
ELSE(PNG_FOUND)
|
||||
MESSAGE(STATUS "Looking for PNG - not found")
|
||||
ENDIF(PNG_FOUND)
|
||||
#IF(PNG_FOUND)
|
||||
# SET(HAVE_PNG ${PNG_FOUND} CACHE BOOL "Set to TRUE if PNG is found, FALSE otherwise")
|
||||
# MESSAGE(STATUS "Looking for PNG - found")
|
||||
#ELSE(PNG_FOUND)
|
||||
# MESSAGE(STATUS "Looking for PNG - not found")
|
||||
#ENDIF(PNG_FOUND)
|
||||
|
||||
# TIFF
|
||||
#SET(TIFF_NAMES libtiff)
|
||||
INCLUDE(FindTIFF)
|
||||
IF(TIFF_FOUND)
|
||||
SET(HAVE_TIFF ${TIFF_FOUND} CACHE BOOL "Set to TRUE if TIFF is found, FALSE otherwise")
|
||||
MESSAGE(STATUS "Looking for TIFF - found")
|
||||
ELSE(TIFF_FOUND)
|
||||
MESSAGE(STATUS "Looking for TIFF - not found")
|
||||
ENDIF(TIFF_FOUND)
|
||||
#INCLUDE(FindTIFF)
|
||||
#IF(TIFF_FOUND)
|
||||
# SET(HAVE_TIFF ${TIFF_FOUND} CACHE BOOL "Set to TRUE if TIFF is found, FALSE otherwise")
|
||||
# MESSAGE(STATUS "Looking for TIFF - found")
|
||||
#ELSE(TIFF_FOUND)
|
||||
# MESSAGE(STATUS "Looking for TIFF - not found")
|
||||
#ENDIF(TIFF_FOUND)
|
||||
|
||||
# OpenEXR
|
||||
#INCLUDE(${NV_CMAKE_DIR}/FindOpenEXR.cmake)
|
||||
IF(OPENEXR_FOUND)
|
||||
SET(HAVE_OPENEXR ${OPENEXR_FOUND} CACHE BOOL "Set to TRUE if OpenEXR is found, FALSE otherwise")
|
||||
MESSAGE(STATUS "Looking for OpenEXR - found")
|
||||
ELSE(OPENEXR_FOUND)
|
||||
MESSAGE(STATUS "Looking for OpenEXR - not found")
|
||||
ENDIF(OPENEXR_FOUND)
|
||||
#IF(OPENEXR_FOUND)
|
||||
# SET(HAVE_OPENEXR ${OPENEXR_FOUND} CACHE BOOL "Set to TRUE if OpenEXR is found, FALSE otherwise")
|
||||
# MESSAGE(STATUS "Looking for OpenEXR - found")
|
||||
#ELSE(OPENEXR_FOUND)
|
||||
# MESSAGE(STATUS "Looking for OpenEXR - not found")
|
||||
#ENDIF(OPENEXR_FOUND)
|
||||
|
||||
# OpenMP
|
||||
INCLUDE(FindOpenMP)
|
||||
|
Loading…
Reference in New Issue
Block a user