Skip to content

Commit 79eb767

Browse files
ferdnycneheb
authored andcommitted
CMake: Fix building samples without webready
1 parent 41959b4 commit 79eb767

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

samples/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,9 @@ endif()
9292

9393
# ******************************************************************************
9494
# connection test application
95-
add_executable(conntest conntest.cpp)
96-
list(APPEND APPLICATIONS conntest)
97-
9895
if(EXIV2_ENABLE_WEBREADY)
96+
add_executable(conntest conntest.cpp)
97+
list(APPEND APPLICATIONS conntest)
9998
if(EXIV2_ENABLE_CURL)
10099
target_include_directories(conntest SYSTEM PRIVATE ${CURL_INCLUDE_DIR})
101100
target_link_libraries(conntest PRIVATE ${CURL_LIBRARIES})

0 commit comments

Comments
 (0)