From 25e109001c9d0fce009c8de380d5fd3704c99b52 Mon Sep 17 00:00:00 2001 From: "FeRD (Frank Dana)" Date: Fri, 10 May 2024 11:43:59 -0400 Subject: [PATCH] CMake: Fix building samples without webready (cherry picked from commit 79eb7675d8b846c3e89359b92394d6c03a392cba) --- samples/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt index 84af403394..21f90e73d8 100644 --- a/samples/CMakeLists.txt +++ b/samples/CMakeLists.txt @@ -103,10 +103,9 @@ endif() # ****************************************************************************** # connection test application -add_executable(conntest conntest.cpp) -list(APPEND APPLICATIONS conntest) - if (EXIV2_ENABLE_WEBREADY) + add_executable(conntest conntest.cpp) + list(APPEND APPLICATIONS conntest) if( EXIV2_ENABLE_CURL ) target_include_directories(conntest SYSTEM PRIVATE ${CURL_INCLUDE_DIR} ) target_link_libraries(conntest PRIVATE ${CURL_LIBRARIES})