mirror of
https://github.com/curl/curl.git
synced 2026-04-21 21:52:13 +03:00
cmake: detect and show VCPKG in platform flags
Use `VCPKG_TOOLCHAIN` to detect a vcpkg build environment. Closes #14451
This commit is contained in:
parent
daf9fdc4ef
commit
e042073f9d
1 changed files with 3 additions and 0 deletions
|
|
@ -79,6 +79,9 @@ endif()
|
|||
if(MSVC)
|
||||
set(_flags "${_flags} MSVC")
|
||||
endif()
|
||||
if(VCPKG_TOOLCHAIN)
|
||||
set(_flags "${_flags} VCPKG")
|
||||
endif()
|
||||
message(STATUS "CMake platform flags:${_flags}")
|
||||
set(_flags)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue