Skip to content

Commit 9088cb3

Browse files
committed
cmake: Update winmd to 0f1eae3
1 parent 1559ddf commit 9088cb3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,16 +177,16 @@ endif()
177177

178178
include(ExternalProject)
179179
ExternalProject_Add(winmd
180-
URL https://github.com/microsoft/winmd/releases/download/1.0.210629.2/Microsoft.Windows.WinMD.1.0.210629.2.nupkg
181-
URL_HASH SHA256=4c5f29d948f5b3d724d229664c8f8e4823250d3c9f23ad8067b732fc7076d8c7
180+
GIT_REPOSITORY https://github.com/microsoft/winmd.git
181+
GIT_TAG 0f1eae3bfa63fa2ba3c2912cbfe72a01db94cc5a
182182
CONFIGURE_COMMAND ""
183183
BUILD_COMMAND ""
184184
INSTALL_COMMAND ""
185185
)
186186
add_dependencies(cppwinrt winmd)
187187
ExternalProject_Get_Property(winmd SOURCE_DIR)
188188
set(winmd_SOURCE_DIR "${SOURCE_DIR}")
189-
target_include_directories(cppwinrt PRIVATE "${winmd_SOURCE_DIR}")
189+
target_include_directories(cppwinrt PRIVATE "${winmd_SOURCE_DIR}/src")
190190

191191

192192
if(WIN32 AND NOT CMAKE_CROSSCOMPILING)

0 commit comments

Comments
 (0)