We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 504306d commit 0ceaf9cCopy full SHA for 0ceaf9c
1 file changed
CMakeLists.txt
@@ -212,6 +212,8 @@ else()
212
endif(JPEG_FOUND)
213
if(PNG_FOUND)
214
set(LIBVNCSERVER_HAVE_LIBPNG 1)
215
+else()
216
+ unset(PNG_LIBRARIES) # would otherwise contain -NOTFOUND, confusing target_link_libraries()
217
endif(PNG_FOUND)
218
if(NOT OPENSSL_FOUND)
219
unset(OPENSSL_LIBRARIES) # would otherwise contain -NOTFOUND, confusing target_link_libraries()
0 commit comments