Using ggml as a dependency, how can I prevent ggml.dll from getting generated on Windows builds? #881
Closed
balisujohn
started this conversation in
General
Replies: 2 comments 6 replies
-
You can disable building ggml as shared library by setting |
Beta Was this translation helpful? Give feedback.
4 replies
-
I figured it out, it's because I was designing the process for msvc and ggml's CMakeLists.txt overrides BUILD_SHARED_LIBS to the on state if you are using msvc. Line 28 in e3b3846 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
here's my current CMakeLists.txt:
Right now, I get
build/tortoise.exe
andbuild/bin/Debug/ggml.dll
, and have to move the dll to the build folder to get the exe to work. What I'd like instead is to just get an exe and not generate the dll at all. I tried adding the lineBut it seems to have no effect.
Beta Was this translation helpful? Give feedback.
All reactions