tech-pkg archive

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

Re: [PATCH] cmake/build.mk: Hide non-buildlink3 libraries from cmake



On Wed, 25 Dec 2024, Taylor R Campbell wrote:

The attached patch changes devel/cmake/build.mk to set
CMAKE_FIND_USE_CMAKE_SYSTEM_PATH to OFF, and add BUILDLINK_DIR to
CMAKE_PREFIX_PATH, so that:

1. cmake will not look in LOCALBASE by default.
2. cmake will look in BUILDLINK_DIR by default.

Yes, thank you!!

This approach is definitely a step in the right direction, in my
opinion. And based on my knowledge of CMake, I think those are the
correct variables to tweak. But I, too, am concerned about the fallout
which your "XXX" mentions.

Charlotte


Home | Main Index | Thread Index | Old Index