|
|
|
@ -179,13 +179,13 @@ if (EXIV2_ENABLE_WEBREADY)
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
if( EXIV2_ENABLE_CURL )
|
|
|
|
|
target_include_directories(exiv2lib SYSTEM PUBLIC ${CURL_INCLUDE_DIR} )
|
|
|
|
|
target_link_libraries(exiv2lib PUBLIC ${CURL_LIBRARIES})
|
|
|
|
|
target_include_directories(exiv2lib SYSTEM PRIVATE ${CURL_INCLUDE_DIR} )
|
|
|
|
|
target_link_libraries(exiv2lib PRIVATE ${CURL_LIBRARIES})
|
|
|
|
|
if (USING_CONAN)
|
|
|
|
|
target_compile_definitions(exiv2lib PUBLIC ${CONAN_COMPILE_DEFINITIONS_LIBCURL})
|
|
|
|
|
target_link_libraries(exiv2lib PUBLIC ${CONAN_EXE_LINKER_FLAGS_LIBCURL})
|
|
|
|
|
target_compile_definitions(exiv2lib PRIVATE ${CONAN_COMPILE_DEFINITIONS_LIBCURL})
|
|
|
|
|
target_link_libraries(exiv2lib PRIVATE ${CONAN_EXE_LINKER_FLAGS_LIBCURL})
|
|
|
|
|
if (NOT APPLE)
|
|
|
|
|
target_link_libraries(exiv2lib PUBLIC CONAN_PKG::OpenSSL)
|
|
|
|
|
target_link_libraries(exiv2lib PRIVATE CONAN_PKG::OpenSSL)
|
|
|
|
|
endif()
|
|
|
|
|
endif()
|
|
|
|
|
endif()
|
|
|
|
|