Skip to content

Commit 9be945f

Browse files
committed
Fix installation of ggml backends
Set up GNUInstallDirs before setting the installation directory of ggml backends
1 parent 02abdac commit 9be945f

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
@@ -212,6 +212,8 @@ set(THREADS_PREFER_PTHREAD_FLAG ON)
212212

213213
find_package(Threads REQUIRED)
214214

215+
include(GNUInstallDirs)
216+
215217
#
216218
# build the library
217219
#
@@ -235,7 +237,6 @@ endif ()
235237
# install
236238
#
237239

238-
include(GNUInstallDirs)
239240
include(CMakePackageConfigHelpers)
240241

241242
# all public headers

0 commit comments

Comments
 (0)