mirror of
https://github.com/curl/curl.git
synced 2026-06-05 06:14:16 +03:00
examples switch to CURL_NETWORK_AND_TIME_LIBS
This commit is contained in:
parent
b5b923763f
commit
5a42df44e0
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ foreach(_target IN LISTS check_PROGRAMS)
|
|||
set(_target_name "curl-example-${_target}")
|
||||
add_executable(${_target_name} EXCLUDE_FROM_ALL "${_target}.c")
|
||||
add_dependencies(curl-examples ${_target_name})
|
||||
target_link_libraries(${_target_name} ${LIB_SELECTED} ${CURL_LIBS})
|
||||
target_link_libraries(${_target_name} ${LIB_SELECTED} ${CURL_NETWORK_AND_TIME_LIBS})
|
||||
target_compile_definitions(${_target_name} PRIVATE "CURL_NO_OLDIES" "$<$<BOOL:${MSVC}>:_CRT_SECURE_NO_DEPRECATE>")
|
||||
set_target_properties(${_target_name} PROPERTIES OUTPUT_NAME "${_target}" PROJECT_LABEL "Example ${_target}" UNITY_BUILD OFF)
|
||||
endforeach()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue