mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 19:42:46 +08:00
Disable vcpkg_test_cmake()
This commit is contained in:
parent
35892da819
commit
c2ad1baafc
@ -16,6 +16,12 @@
|
||||
## Indicates that the library expects to be found via built-in CMake targets.
|
||||
##
|
||||
function(vcpkg_test_cmake)
|
||||
# The following issues need to be addressed before re-enabling this function.
|
||||
# 1. Use the actual vcpkg toolchain file.
|
||||
# 2. Select a generator in the same method as vcpkg_configure_cmake() as though the PREFER_NINJA flag was always passed.
|
||||
# 3. Fully emulate the toolchain file for the just-built package (just adding it to CMAKE_PREFIX_PATH is not enough).
|
||||
return()
|
||||
|
||||
cmake_parse_arguments(_tc "MODULE" "PACKAGE_NAME" "" ${ARGN})
|
||||
|
||||
if(NOT DEFINED _tc_PACKAGE_NAME)
|
||||
|
Loading…
Reference in New Issue
Block a user