File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ set_target_properties(ggml PROPERTIES PUBLIC_HEADER "${GGML_PUBLIC_HEADERS}")
207
207
install (TARGETS ggml PUBLIC_HEADER )
208
208
209
209
if (BUILD_SHARED_LIBS )
210
- install (TARGETS ggml_shared LIBRARY )
210
+ install (TARGETS ggml LIBRARY )
211
211
endif ()
212
212
213
213
if (GGML_METAL )
Original file line number Diff line number Diff line change @@ -570,6 +570,7 @@ if (GGML_KOMPUTE)
570
570
571
571
find_package (Vulkan COMPONENTS glslc REQUIRED )
572
572
find_program (glslc_executable NAMES glslc HINTS Vulkan::glslc )
573
+
573
574
if (NOT glslc_executable )
574
575
message (FATAL_ERROR "glslc not found" )
575
576
endif ()
@@ -1129,7 +1130,7 @@ endif()
1129
1130
1130
1131
# ggml
1131
1132
1132
- add_library (ggml OBJECT
1133
+ add_library (ggml
1133
1134
../include/ggml.h
1134
1135
../include/ggml-alloc.h
1135
1136
../include/ggml-backend.h
@@ -1167,10 +1168,6 @@ if (MATH_LIBRARY)
1167
1168
target_link_libraries (ggml PRIVATE ${MATH_LIBRARY} )
1168
1169
endif ()
1169
1170
1170
- add_library (ggml_static STATIC $< TARGET_OBJECTS:ggml> )
1171
-
1172
1171
if (BUILD_SHARED_LIBS )
1173
1172
set_target_properties (ggml PROPERTIES POSITION_INDEPENDENT_CODE ON )
1174
- add_library (ggml_shared SHARED $< TARGET_OBJECTS:ggml> )
1175
- target_link_libraries (ggml_shared PRIVATE Threads::Threads ${GGML_EXTRA_LIBS} )
1176
1173
endif ()
You can’t perform that action at this time.
0 commit comments