diff options
Diffstat (limited to 'Build/source/libs/gd/libgd-src/cmake/modules/FindLIQ.cmake')
-rw-r--r-- | Build/source/libs/gd/libgd-src/cmake/modules/FindLIQ.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/libs/gd/libgd-src/cmake/modules/FindLIQ.cmake b/Build/source/libs/gd/libgd-src/cmake/modules/FindLIQ.cmake index 4f730f09685..c41d6fc0294 100644 --- a/Build/source/libs/gd/libgd-src/cmake/modules/FindLIQ.cmake +++ b/Build/source/libs/gd/libgd-src/cmake/modules/FindLIQ.cmake @@ -28,6 +28,10 @@ IF (LIQ_FOUND) IF (NOT LIQ_FIND_QUIETLY) MESSAGE(STATUS "Found LIQ: ${LIQ_LIBRARY} ${LIQ_INCLUDE_DIR}") ENDIF (NOT LIQ_FIND_QUIETLY) +ELSE (LIQ_FOUND) + IF (LIQ_FIND_REQUIRED) + MESSAGE(FATAL_ERROR "Could not find LIQ library") + ENDIF (LIQ_FIND_REQUIRED) ENDIF (LIQ_FOUND) MARK_AS_ADVANCED(LIQ_INCLUDE_DIR LIQ_LIBRARIES LIQ_BUILD) |