mirror of
https://github.com/curl/curl.git
synced 2026-06-09 01:44:17 +03:00
comment
This commit is contained in:
parent
bde0d1aa11
commit
011faa1989
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ foreach(_target IN LISTS check_PROGRAMS _all) # keep '_all' last
|
|||
list(TRANSFORM _examples_c APPEND ".c")
|
||||
add_library(${_target_name} OBJECT EXCLUDE_FROM_ALL ${_examples_c})
|
||||
if(MSVC AND NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||
# CMake generates a static library for the OBJECT target. Which triggers warnings:
|
||||
# CMake generates a static library for the OBJECT target. Silence these 'lib.exe' warnings:
|
||||
# warning LNK4006: main already defined in ....obj; second definition ignored
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue