Skip to content

Commit 10d5cb3

Browse files
committed
Fix Windows CI: exclude tq_convert (POSIX-only dirent/mmap)
1 parent 3e83507 commit 10d5cb3

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,11 @@ target_link_libraries(quant turboquant)
265265
add_executable(debug_compare tools/debug_compare.c)
266266
target_link_libraries(debug_compare turboquant)
267267

268-
# TQM converter tool
269-
add_executable(tq_convert tools/tq_convert.c)
270-
target_link_libraries(tq_convert turboquant)
268+
# TQM converter tool (not on Windows — uses POSIX dirent/mmap)
269+
if(NOT MSVC)
270+
add_executable(tq_convert tools/tq_convert.c)
271+
target_link_libraries(tq_convert turboquant)
272+
endif()
271273

272274
# Examples (always built)
273275
file(GLOB EXAMPLE_C_SOURCES examples/*.c)

0 commit comments

Comments
 (0)