@ doesn't expand there, snappy doesn't exist diff --git a/c/CMakeLists.txt b/c/CMakeLists.txt index aa923e1..f76bc88 100644 --- a/c/CMakeLists.txt +++ b/c/CMakeLists.txt @@ -176,7 +176,7 @@ else (LZMA_FOUND) endif (LZMA_FOUND) set(CODEC_LIBRARIES ${ZLIB_LIBRARIES} ${LZMA_LIBRARIES} ${SNAPPY_LIBRARIES}) -set(CODEC_PKG "@ZLIB_PKG@ @LZMA_PKG@ @SNAPPY_PKG@") +set(CODEC_PKG "${ZLIB_PKG} ${LZMA_PKG}") # Jansson JSON library pkg_check_modules(JANSSON jansson>=2.3)