mirror of https://github.com/microsoft/vcpkg.git
[d3d12-memory-allocator] Fix header file paths (#34086)
* fix d3d12-memory-allocator * update version --------- Co-authored-by: Monica <v-liumonica@microsoft.com>
This commit is contained in:
parent
768619a21e
commit
a04e01604c
|
|
@ -7,7 +7,7 @@ add_library(${PROJECT_NAME} STATIC
|
|||
)
|
||||
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES PUBLIC_HEADER "src/D3D12MemAlloc.h")
|
||||
#target_include_directories(${PROJECT_NAME} PRIVATE "src/")
|
||||
target_include_directories(${PROJECT_NAME} INTERFACE PUBLIC $<INSTALL_INTERFACE:include>)
|
||||
|
||||
install(
|
||||
TARGETS ${PROJECT_NAME} EXPORT ${PROJECT_NAME}-config
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@ vcpkg_from_github(
|
|||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
|
@ -19,4 +19,4 @@ vcpkg_copy_pdbs()
|
|||
vcpkg_cmake_config_fixup(CONFIG_PATH cmake/)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "d3d12-memory-allocator",
|
||||
"version-date": "2021-05-05",
|
||||
"port-version": 1,
|
||||
"description": "Easy to integrate D3d12 memory allocation library from GPUOpen",
|
||||
"homepage": "https://gpuopen.com/gaming-product/d3d12-memory-allocator/",
|
||||
"license": "MIT",
|
||||
|
|
|
|||
|
|
@ -2018,7 +2018,7 @@
|
|||
},
|
||||
"d3d12-memory-allocator": {
|
||||
"baseline": "2021-05-05",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"d3dx12": {
|
||||
"baseline": "may2021",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "7ada5dd1ad2d93ae0c4d56924dfaea88f8fc0e55",
|
||||
"version-date": "2021-05-05",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "988836f8b901c1a30f4b667ac37f81f1ef3bcdd8",
|
||||
"version-date": "2021-05-05",
|
||||
|
|
|
|||
Loading…
Reference in New Issue