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.
2 parents 9b9be76 + 0ceaf9c commit dc58c16Copy full SHA for dc58c16
1 file changed
CMakeLists.txt
@@ -211,6 +211,8 @@ else()
211
endif(JPEG_FOUND)
212
if(PNG_FOUND)
213
set(LIBVNCSERVER_HAVE_LIBPNG 1)
214
+else()
215
+ unset(PNG_LIBRARIES) # would otherwise contain -NOTFOUND, confusing target_link_libraries()
216
endif(PNG_FOUND)
217
if(NOT OPENSSL_FOUND)
218
unset(OPENSSL_LIBRARIES) # would otherwise contain -NOTFOUND, confusing target_link_libraries()
0 commit comments