mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
9c0956e573
while playing with qtbase on x64-uwp i found that it could not pass a try_compile command since important variables are not correctly forwarded. As such I concluded that the handling of try_compile in vcpkg is completely wrong.
9 lines
225 B
CMake
9 lines
225 B
CMake
|
|
string(APPEND VCPKG_C_FLAGS " -DVCPKG_LET_ME_PASS")
|
|
string(APPEND VCPKG_CXX_FLAGS " -DVCPKG_LET_ME_PASS")
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${CMAKE_CURRENT_LIST_DIR}"
|
|
)
|
|
|
|
set(VCPKG_POLICY_EMPTY_PACKAGE enabled) |