diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cmake/files/InitialCache.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/cmake/files/InitialCache.cmake b/devel/cmake/files/InitialCache.cmake index de214871c9e4..1fd7221f602b 100644 --- a/devel/cmake/files/InitialCache.cmake +++ b/devel/cmake/files/InitialCache.cmake @@ -4,3 +4,13 @@ # devel/qt4-corelib is not). # See https://mail.kde.org/pipermail/kde-freebsd/2013-July/015703.html set(BUILD_TESTING OFF CACHE BOOL "Build the testing tree.") + +# Force CMake to look for base's liblzma, otherwise the configuration process +# will fail if archivers/lzmalib is installed, as CMake will try to use its +# liblzma.so. +# Note that this is necessary only for `make configure' to work, as liblzma is +# only ever used if CMake's bundled libarchive is being used. +set(LIBLZMA_INCLUDE_DIR "/usr/include" CACHE PATH + "Directory where LibLZMA headers are located.") +set(LIBLZMA_LIBRARY "/usr/lib/liblzma.so" CACHE PATH + "LibLZMA library to link against..") |