diff --git a/examples/c++/CMakeLists.txt b/examples/c++/CMakeLists.txt index 4dd378b1..92245fba 100644 --- a/examples/c++/CMakeLists.txt +++ b/examples/c++/CMakeLists.txt @@ -264,7 +264,9 @@ if (BACNET_FOUND) add_example (t8100) add_example (tb7300) endif() -add_example (vcap) +if (JPEG_FOUND) + add_example (vcap) +endif (JPEG_FOUND) add_example (ds2413) add_example (ds18b20) add_example (bmp280)