mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-24 03:27:12 +01:00
[vcpkg-toolchain] When using the Vcpkg toolchain, do not also include the user-wide property sheet.
This commit is contained in:
parent
20657a29ca
commit
9c4099545b
@ -115,6 +115,7 @@ if(NOT VCPKG_TOOLCHAIN)
|
|||||||
-OutVariable out
|
-OutVariable out
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
set_target_properties(${name} PROPERTIES VS_USER_PROPS do_not_import_user.props)
|
||||||
set_target_properties(${name} PROPERTIES VS_GLOBAL_VcpkgEnabled false)
|
set_target_properties(${name} PROPERTIES VS_GLOBAL_VcpkgEnabled false)
|
||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
@ -125,6 +126,7 @@ if(NOT VCPKG_TOOLCHAIN)
|
|||||||
list(FIND ARGV "INTERFACE" INTERFACE_IDX)
|
list(FIND ARGV "INTERFACE" INTERFACE_IDX)
|
||||||
list(FIND ARGV "ALIAS" ALIAS_IDX)
|
list(FIND ARGV "ALIAS" ALIAS_IDX)
|
||||||
if(IMPORTED_IDX EQUAL -1 AND INTERFACE_IDX EQUAL -1 AND ALIAS_IDX EQUAL -1)
|
if(IMPORTED_IDX EQUAL -1 AND INTERFACE_IDX EQUAL -1 AND ALIAS_IDX EQUAL -1)
|
||||||
|
set_target_properties(${name} PROPERTIES VS_USER_PROPS do_not_import_user.props)
|
||||||
set_target_properties(${name} PROPERTIES VS_GLOBAL_VcpkgEnabled false)
|
set_target_properties(${name} PROPERTIES VS_GLOBAL_VcpkgEnabled false)
|
||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user