mirror of
https://github.com/curl/curl.git
synced 2026-06-09 15:24:17 +03:00
fixup
This commit is contained in:
parent
ed261c0915
commit
7d4efc8152
1 changed files with 2 additions and 2 deletions
|
|
@ -52,9 +52,9 @@ foreach(_target IN LISTS check_PROGRAMS _all) # keep '_all' last
|
|||
# warning LNK4221: This object file does not define any previously undefined public symbols,
|
||||
# so it will not be used by any link operation that consumes this library
|
||||
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.13)
|
||||
target_link_options(curl-examples-build PRIVATE "-ignore:4006" "-ignore:4221")
|
||||
set_target_properties(curl-examples-build PROPERTIES STATIC_LIBRARY_OPTIONS "-ignore:4006" "-ignore:4221")
|
||||
else()
|
||||
target_link_libraries(curl-examples-build PRIVATE "-ignore:4006" "-ignore:4221")
|
||||
set_target_properties(curl-examples-build PROPERTIES STATIC_LIBRARY_FLAGS "-ignore:4006" "-ignore:4221")
|
||||
endif()
|
||||
endif()
|
||||
else()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue