Skip to content

Commit

Permalink
CMake: Fix building samples without webready
Browse files Browse the repository at this point in the history
(cherry picked from commit 79eb767)
  • Loading branch information
ferdnyc authored and kmilos committed May 17, 2024
1 parent 0630d09 commit 25e1090
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 @@ -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})
Expand Down

0 comments on commit 25e1090

Please sign in to comment.