From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id CC3886F15B; Mon, 26 Oct 2026 16:26:13 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org CC3886F15B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1793021173; bh=8sqaU7g7MU94RNChBc7h16N0YsEKhSQ2C3KgNKEbbik=; h=To:Cc:Date:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=oJwUjFcIPCYX+EWsB7qISchlW1BE6VxHsfdpzLG/Q3fuoXu6IfMCR5l5Q5bvp0rDZ N/lBUE8SMiMt3gCxUhB/d9SZVLxpyf1sama3M6sHGG0f7D4rr1BeGO3L+JxA7SJLm8 QDLIcaEd98HnFEwVQVRWEYaR9bryL87xX6AbyODg= Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id ADD6C6F15B for ; Mon, 26 Oct 2026 16:25:30 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org ADD6C6F15B Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-5be42ae8eadso621000e87.3 for ; Mon, 26 Oct 2026 06:25:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793021130; x=1793625930; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=usfF3T8qeTRuFx5fAy1JLWyXx5eNjnqR36cVOXW1JG8=; b=tK6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:a05:6512:a94:b0:5be:4904:d2c4 with SMTP id 2adb3069b0e04-5bfb71c82eemr2336856e87.15.1793021129608; Mon, 26 Oct 2026 06:25:29 -0700 (PDT) Received: from localhost ([2a06:a780:1000:2::275d:f1b4]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5bfb7a6ac4asm1599587e87.28.2026.10.26.06.25.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Oct 2026 06:25:29 -0700 (PDT) To: tarantool-patches@dev.tarantool.org, Sergey Kaplun , e.temirgaleev@tarantool.org Cc: Sergey Bronnikov Date: Mon, 26 Oct 2026 16:25:25 +0300 Message-ID: X-Mailer: git-send-email 2.56.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH luajit 3/3] cmake: make Git optional in SetVersion() X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Bronnikov via Tarantool-patches Reply-To: Sergey Bronnikov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" From: Sergey Bronnikov SetVersion.cmake requires the Git package even when there is no .git (as in the release tarball); make the lookup optional to avoid a build dependency on Git. Needed for the OpenBSD port. --- cmake/SetVersion.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/SetVersion.cmake b/cmake/SetVersion.cmake index e169b211..1cfabc2c 100644 --- a/cmake/SetVersion.cmake +++ b/cmake/SetVersion.cmake @@ -4,7 +4,7 @@ # Copyright (C) 2015-2020 IPONWEB Ltd. function(SetVersion version majver minver patchver tweakver prerel) - find_package(Git QUIET REQUIRED) + find_package(Git QUIET) if(EXISTS ${CMAKE_SOURCE_DIR}/.git AND Git_FOUND) # Read version from the project's VCS and store the result # into version. -- 2.56.0