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: adam
Date: Mon Jan 27 08:49:08 UTC 2025
Modified Files:
pkgsrc/devel/cmake: build.mk
Log Message:
cmake: make build.mk work properly on Darwin
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 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.21 pkgsrc/devel/cmake/build.mk:1.22
--- pkgsrc/devel/cmake/build.mk:1.21 Fri Jan 24 21:23:07 2025
+++ pkgsrc/devel/cmake/build.mk Mon Jan 27 08:49:08 2025
@@ -1,4 +1,4 @@
-# $NetBSD: build.mk,v 1.21 2025/01/24 21:23:07 riastradh Exp $
+# $NetBSD: build.mk,v 1.22 2025/01/27 08:49:08 adam Exp $
#
# This Makefile fragment supports building using the CMake build tool.
#
@@ -64,6 +64,9 @@ CMAKE_CONFIGURE_ARGS+= -DFETCHCONTENT_FU
# directory for find_package/program/library/file/path.
CMAKE_CONFIGURE_ARGS+= -DCMAKE_FIND_USE_CMAKE_SYSTEM_PATH:BOOL=OFF
CMAKE_PREFIX_PATH+= ${BUILDLINK_DIR}
+.if ${OPSYS} == "Darwin"
+CMAKE_PREFIX_PATH+= ${OSX_SDK_PATH}/System/Library/Frameworks
+.endif
CMAKE_INCLUDE_PATH+= ${COMPILER_INCLUDE_DIRS:@.d.@${_CROSS_DESTDIR:U}${.d.}@}
CMAKE_LIBRARY_PATH+= ${COMPILER_LIB_DIRS:@.d.@${_CROSS_DESTDIR:U}${.d.}@}
Home |
Main Index |
Thread Index |
Old Index