moka/tests/CMakeLists.txt

19 lines
300 B
CMake

cmake_minimum_required(VERSION 3.29)
project(moka-tests)
add_executable(moka-tests
main.c
)
find_package(PkgConfig REQUIRED)
pkg_check_modules(CHECK check REQUIRED IMPORTED_TARGET)
add_dependencies(moka-tests moka-core)
target_link_libraries(moka-tests
moka-core
PkgConfig::CHECK
)