From b0c282e22e33b5a768f7d07d85f6942109984687 Mon Sep 17 00:00:00 2001 From: yuuko Date: Tue, 19 May 2026 04:09:21 -0700 Subject: [PATCH] ext: mark libtom libs EXCLUDE_FROM_ALL --- ext/_ext.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/_ext.cmake b/ext/_ext.cmake index 982d07e4..c76630f2 100644 --- a/ext/_ext.cmake +++ b/ext/_ext.cmake @@ -50,7 +50,7 @@ endif() # libtommath if(NOT TARGET libtommath) - add_sourcepp_remote_library(libtommath https://github.com/craftablescience/libtommath 03101d4556acd45175d5cfe0575601cf6acadef2 OVERRIDE_FIND_PACKAGE) + add_sourcepp_remote_library(libtommath https://github.com/craftablescience/libtommath 03101d4556acd45175d5cfe0575601cf6acadef2 OVERRIDE_FIND_PACKAGE EXCLUDE_FROM_ALL) endif() @@ -59,7 +59,7 @@ if(NOT TARGET libtomcrypt) if(SOURCEPP_BUILD_WITH_THREADS AND CMAKE_USE_PTHREADS_INIT) set(WITH_PTHREAD ON CACHE INTERNAL "" FORCE) endif() - add_sourcepp_remote_library(libtomcrypt https://github.com/libtom/libtomcrypt c80285ba04f87ee5359baf689ccc7ce8a31116dc) + add_sourcepp_remote_library(libtomcrypt https://github.com/libtom/libtomcrypt c80285ba04f87ee5359baf689ccc7ce8a31116dc EXCLUDE_FROM_ALL) if(MSVC) # Spews "inconsistent dll linkage", no idea how to fix, doesn't seem to cause problems target_compile_options(libtomcrypt PRIVATE "/wd4273")