Skip to content

Commit

Permalink
[Fix] cannot find mp11 cmake_install.cmake when install
Browse files Browse the repository at this point in the history
  • Loading branch information
mingyue committed Feb 27, 2025
1 parent 6df0973 commit a09ec58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/external/onnxruntime_external_deps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,10 @@ if(NOT TARGET Boost::mp11)
onnxruntime_fetchcontent_declare(
mp11
URL ${DEP_URL_mp11}
EXCLUDE_FROM_ALL
FIND_PACKAGE_ARGS NAMES Boost
)
onnxruntime_fetchcontent_makeavailable(mp11)
onnxruntime_fetchcontent_makeavailable(mp11)
if(NOT TARGET Boost::mp11)
add_library(Boost::mp11 ALIAS Boost::headers)
endif()
Expand Down

0 comments on commit a09ec58

Please sign in to comment.