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
@ -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…
Reference in New Issue
Block a user