Skip to content

Commit

Permalink
CMake: Fix building samples without webready
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc authored and neheb committed May 10, 2024
1 parent 41959b4 commit 79eb767
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions samples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,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})
Expand Down

0 comments on commit 79eb767

Please sign in to comment.