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