opnsense-ports/devel/cmake-core/files/InitialCache.cmake.in
Franco Fichtner 0527fe7dda devel/cmake-core: sync with upstream
Taken from: FreeBSD
2024-11-22 10:18:46 +01:00

15 lines
634 B
CMake

# TODO: Add TEST option to enable regression tests. The tests require
# additional packages to be installed and a small amount of patching
# to account for our local changes.
set(BUILD_TESTING OFF CACHE BOOL
"Build the testing tree.")
set(CPACK_ENABLE_FREEBSD_PKG ON CACHE BOOL
"Enable pkg(8) generator in CPack")
# Use base libarchive instead of the ports or bundled version, because
# libpkg links against base.
set(LibArchive_INCLUDE_DIR "/usr/include" CACHE PATH
"Directory where LibArchive headers are located.")
set(LibArchive_LIBRARY "/usr/lib/libarchive.so" CACHE PATH
"LibArchive library to link against.")