You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMake: only use the simple header check for libjpeg-turbo
The build-time check does not work when:
* using LibVNCServer as a CMake subdir together with turbojpeg CMake
subdir, since turbojpeg is not yet built when LibVNCServer is
configured
* when built with MSVC and Conan
# last-resort grep check (when using LibVNCServer as a CMake subdir together with turbojpeg CMake subdir, the build check above fails since turbojpeg is not yet built when LibVNCServer is configured)
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/ ***")
138
-
else()
139
-
message(STATUS"Detected libjpeg-turbo via ${JPEGLIB_H_PATH}")
140
-
endif()
102
+
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/ ***")
103
+
else()
104
+
message(STATUS"Detected libjpeg-turbo via ${JPEGLIB_H_PATH}")
0 commit comments