Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion ggml/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ cmake_minimum_required(VERSION 3.14...3.28) # for add_link_options and implicit
if (POLICY CMP0194)
cmake_policy(SET CMP0194 NEW)
endif()
project("ggml" C CXX ASM)
#("ggml" C CXX ASM) forces generic ASM, which MSVC cannot satisfy under CMP0194 NEW
if (MSVC)
project("ggml" C CXX ASM_MASM)
else()
project("ggml" C CXX ASM)
endif()

### GGML Version
set(GGML_VERSION_MAJOR 0)
Expand Down