mastodont-c/cmake/mastodont-config.cmake
nekobit 7606545a27 Fix function
FossilOrigin-Name: a8910644e6f7612e6793e8be844926f6d87659b2f9b2ac44543b0f5c0851837f
2023-03-03 18:30:07 +00:00

21 lines
384 B
CMake

# Get CFLAGS
set(MASTODONT_FOUND)
set(MASTODONT_VERSION 0.1)
# Get parent directory of this config file
find_package(CURL REQUIRED)
find_package(PkgConfig REQUIRED)
# TODO account for built-in cjson lib
pkg_check_modules(MSTDNT_CJSON libcjson)
set(MASTODONT_INCLUDE_DIRS
../include
../libs
)
set(MASTODONT_LIBRARIES
mastodont
${MSTDNT_CJSON_LIBRARIES}
${CURL_LIBRARIES}
)