Skip to content

Commit 8459338

Browse files
committed
ggml-cpu: bruteforce macro definitions
Signed-off-by: Aaron Teo <[email protected]>
1 parent ed76ff6 commit 8459338

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ggml/src/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,15 @@ endif()
5757

5858
if (GGML_VXE)
5959
add_compile_definitions(GGML_VXE)
60+
target_compile_definitions(ggml PUBLIC GGML_VXE)
61+
target_compile_definitions(ggml-base PUBLIC GGML_VXE)
6062
message(STATUS "GGML_VXE triggered")
6163
endif()
6264

6365
if (GGML_NNPA)
6466
add_compile_definitions(GGML_NNPA)
67+
target_compile_definitions(ggml PUBLIC GGML_NNPA)
68+
target_compile_definitions(ggml-base PUBLIC GGML_NNPA)
6569
message(STATUS "GGML_NNPA triggered")
6670
endif()
6771

0 commit comments

Comments
 (0)