From ef9d0c17c2144df5a41517676cefce85ba1e9fdd Mon Sep 17 00:00:00 2001 From: Maksim Levental Date: Wed, 21 Aug 2024 14:30:08 -0500 Subject: [PATCH] install xrt_coreutil on windows right next run-module --- cmake/iree_aie_xrt.cmake | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/cmake/iree_aie_xrt.cmake b/cmake/iree_aie_xrt.cmake index cfe683852..47db2979d 100644 --- a/cmake/iree_aie_xrt.cmake +++ b/cmake/iree_aie_xrt.cmake @@ -139,8 +139,7 @@ install( TARGETS iree-aie-xclbinutil EXPORT IREEExported-Runtime COMPONENT IREETools-Runtime - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -) + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) # ############################################################################## @@ -169,8 +168,8 @@ set(_core_libs core_common_library_objects core_common_api_library_objects core_common_xdp_profile_objects - xrt_coreutil -) + xrt_coreutil) + foreach(_core_lib IN LISTS _core_libs) target_include_directories(${_core_lib} PUBLIC ${IREE_XRT_SOURCE_DIR}/runtime_src/core/include @@ -185,3 +184,10 @@ foreach(_core_lib IN LISTS _core_libs) $<$:/EHsc /GR>) target_link_libraries(${_core_lib} PUBLIC $) endforeach() +if (WIN32) + install( + TARGETS xrt_coreutil + EXPORT IREEExported-Runtime + COMPONENT IREETools-Runtime + LIBRARY DESTINATION ${CMAKE_INSTALL_BINDIR}) +endif()