CMake: fix build error that occured on Windows with CMake 3.12

pull/3/head
Christian Beier 6 years ago
parent 587555c12a
commit 5c968dd8a4

@ -187,6 +187,8 @@ else()
endif(ZLIB_FOUND)
if(JPEG_FOUND)
set(LIBVNCSERVER_HAVE_LIBJPEG 1)
else()
unset(JPEG_LIBRARIES) # would otherwise confuse target_link_libraries()
endif(JPEG_FOUND)
if(PNG_FOUND)
set(LIBVNCSERVER_HAVE_LIBPNG 1)

Loading…
Cancel
Save