Skip to content

cmake: explicitly link against crypt32 on non-MSVC Windows builds#17727

Merged
ggerganov merged 1 commit intoggml-org:masterfrom
angt:cmake-explicitly-link-against-crypt32-on-non-msvc-windows-builds
Dec 3, 2025
Merged

cmake: explicitly link against crypt32 on non-MSVC Windows builds#17727
ggerganov merged 1 commit intoggml-org:masterfrom
angt:cmake-explicitly-link-against-crypt32-on-non-msvc-windows-builds

Conversation

@angt
Copy link
Copy Markdown
Member

@angt angt commented Dec 3, 2025

Some toolchains do not support linking via pragmas such as:

#pragma comment(lib, "crypt32.lib")

so we need to add the library explicitly

Some toolchains do not support linking via pragmas such as:

    #pragma comment(lib, "crypt32.lib")

so we need to add the library explicitly.

Signed-off-by: Adrien Gallouët <angt@huggingface.co>
@angt angt requested a review from ggerganov as a code owner December 3, 2025 10:36
@ggerganov ggerganov merged commit 083e18b into ggml-org:master Dec 3, 2025
63 of 76 checks passed
khemchand-zetta pushed a commit to khemchand-zetta/llama.cpp that referenced this pull request Dec 4, 2025
…ml-org#17727)

Some toolchains do not support linking via pragmas such as:

    #pragma comment(lib, "crypt32.lib")

so we need to add the library explicitly.

Signed-off-by: Adrien Gallouët <angt@huggingface.co>
0Marble pushed a commit to 0Marble/llama.cpp that referenced this pull request Dec 18, 2025
…ml-org#17727)

Some toolchains do not support linking via pragmas such as:

    #pragma comment(lib, "crypt32.lib")

so we need to add the library explicitly.

Signed-off-by: Adrien Gallouët <angt@huggingface.co>
Anico2 added a commit to Anico2/llama.cpp that referenced this pull request Jan 15, 2026
…ml-org#17727)

Some toolchains do not support linking via pragmas such as:

    #pragma comment(lib, "crypt32.lib")

so we need to add the library explicitly.

Signed-off-by: Adrien Gallouët <angt@huggingface.co>
blime4 referenced this pull request in blime4/llama.cpp Feb 5, 2026
…7727)

Some toolchains do not support linking via pragmas such as:

    #pragma comment(lib, "crypt32.lib")

so we need to add the library explicitly.

Signed-off-by: Adrien Gallouët <angt@huggingface.co>
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
…ml-org#17727)

Some toolchains do not support linking via pragmas such as:

    #pragma comment(lib, "crypt32.lib")

so we need to add the library explicitly.

Signed-off-by: Adrien Gallouët <angt@huggingface.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants