Skip to content

Commit 73f78ed

Browse files
committed
Fix installation of ggml backends
Set up GNUInstallDirs before setting the installation directory of ggml backends
1 parent 365dae0 commit 73f78ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ggml/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ set(THREADS_PREFER_PTHREAD_FLAG ON)
209209

210210
find_package(Threads REQUIRED)
211211

212+
include(GNUInstallDirs)
213+
212214
#
213215
# build the library
214216
#
@@ -232,7 +234,6 @@ endif ()
232234
# install
233235
#
234236

235-
include(GNUInstallDirs)
236237
include(CMakePackageConfigHelpers)
237238

238239
# all public headers

0 commit comments

Comments
 (0)