pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/cmake



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri May 10 08:27:47 UTC 2024

Modified Files:
        pkgsrc/devel/cmake: build.mk

Log Message:
cmake: Set FETCHCONTENT_FULLY_DISCONNECTED by default

Helps packagers easily include submodules and fetched dependencies
without cmake repeatedly trying to fetch (and failing to) during build.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/cmake/build.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/cmake/build.mk
diff -u pkgsrc/devel/cmake/build.mk:1.11 pkgsrc/devel/cmake/build.mk:1.12
--- pkgsrc/devel/cmake/build.mk:1.11    Mon Nov 20 09:51:48 2023
+++ pkgsrc/devel/cmake/build.mk Fri May 10 08:27:47 2024
@@ -1,4 +1,4 @@
-# $NetBSD: build.mk,v 1.11 2023/11/20 09:51:48 nia Exp $
+# $NetBSD: build.mk,v 1.12 2024/05/10 08:27:47 nia Exp $
 #
 # This Makefile fragment supports building using the CMake build tool.
 #
@@ -49,6 +49,11 @@ BUILD_USES_CMAKE=    yes
 
 CMAKE_CONFIGURE_ARGS?= ${CMAKE_ARGS}
 
+# The assumption in pkgsrc is that packages don't download files
+# mid-build.
+CMAKE_CONFIGURE_ARGS+= -DFETCHCONTENT_FULLY_DISCONNECTED=ON
+
+
 CONFIGURE_ENV+=                BUILDLINK_DIR=${BUILDLINK_DIR}
 
 CMAKE_BUILD_DIR?=      cmake-pkgsrc-build



Home | Main Index | Thread Index | Old Index