Skip to content

Commit 769a3ed

Browse files
author
lexasub
committed
try fix windows build
1 parent c371a91 commit 769a3ed

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tools/dataset-converter/CMakeLists.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if(LLAMA_PARQUET)
55
find_package(Parquet REQUIRED)
66
endif()
77

8-
add_library(dataset-to-gguf-lib
8+
add_library(dataset-to-gguf-lib STATIC
99
dataset-to-gguf/llama-gguf-writer.cpp
1010
dataset-to-gguf/llama-gguf-file.cpp
1111
dataset-to-gguf/llama-dataset-reader/llama-text-data-reader.cpp
@@ -14,11 +14,7 @@ add_library(dataset-to-gguf-lib
1414
dataset-to-gguf/llama-dataset-reader/llama-parquet-data-reader.cpp
1515
)
1616

17-
if(WIN32)
18-
target_compile_options(dataset-to-gguf-lib PRIVATE /std:c++17)
19-
else()
20-
target_compile_features(dataset-to-gguf-lib PRIVATE cxx_std_17)
21-
endif()
17+
target_compile_features(dataset-to-gguf-lib PRIVATE cxx_std_17)
2218

2319
target_link_libraries(dataset-to-gguf-lib common llama ${CMAKE_THREAD_LIBS_INIT})
2420
if(LLAMA_PARQUET)

0 commit comments

Comments
 (0)