File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -177,16 +177,16 @@ endif()
177177
178178include (ExternalProject )
179179ExternalProject_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)
186186add_dependencies (cppwinrt winmd )
187187ExternalProject_Get_Property (winmd SOURCE_DIR )
188188set (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
192192if (WIN32 AND NOT CMAKE_CROSSCOMPILING )
You can’t perform that action at this time.
0 commit comments