Skip to content

Commit 784cccb

Browse files
committed
CMake: log when libjpeg-turbo was found via header file
1 parent bff9612 commit 784cccb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ if(WITH_JPEG)
126126
file(STRINGS ${JPEGLIB_H_PATH} FOUND_LIBJPEG_TURBO REGEX "JCS_EXT_RGB")
127127
if(NOT FOUND_LIBJPEG_TURBO)
128128
message(WARNING "*** The libjpeg library you are building against is not libjpeg-turbo. Performance will be reduced. You can obtain libjpeg-turbo from: https://sourceforge.net/projects/libjpeg-turbo/files/ ***")
129+
else()
130+
message(STATUS "Detected libjpeg-turbo via ${JPEGLIB_H_PATH}")
129131
endif()
130132
endif()
131133
endif(JPEG_FOUND)

0 commit comments

Comments
 (0)