Skip to content

Commit f455664

Browse files
committed
Merge pull request #3434 from stemann:feature/windows-cross-compilation
PiperOrigin-RevId: 474152443
2 parents df26ccd + 807cd4e commit f455664

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7356,6 +7356,7 @@ IF(NOT TARGET cpuinfo)
73567356
MESSAGE(FATAL_ERROR "Cannot find cpuinfo")
73577357
ENDIF()
73587358
SET_PROPERTY(TARGET cpuinfo PROPERTY IMPORTED_LOCATION "${CPUINFO_LIBRARY}")
7359+
SET_PROPERTY(TARGET cpuinfo PROPERTY IMPORTED_IMPLIB "${CPUINFO_LIBRARY}")
73597360
ENDIF()
73607361
ENDIF()
73617362
TARGET_LINK_LIBRARIES(XNNPACK PRIVATE cpuinfo)
@@ -7376,6 +7377,7 @@ IF(NOT TARGET pthreadpool)
73767377
MESSAGE(FATAL_ERROR "Cannot find pthreadpool")
73777378
ENDIF()
73787379
SET_PROPERTY(TARGET pthreadpool PROPERTY IMPORTED_LOCATION "${PTHREADPOOL_LIBRARY}")
7380+
SET_PROPERTY(TARGET pthreadpool PROPERTY IMPORTED_IMPLIB "${PTHREADPOOL_LIBRARY}")
73797381
ENDIF()
73807382
ENDIF()
73817383
TARGET_LINK_LIBRARIES(XNNPACK PUBLIC pthreadpool allocator)

0 commit comments

Comments
 (0)